Sometimes the IDE messes project info file up, causing newly added units not to show inside the Project Inspector.
Original Reporter info from Mantis: Cyrax
-
Reporter name:
Original Reporter info from Mantis: Cyrax
- Reporter name:
Description:
Like summary says, IDE will somehow give wrong index number (higher than previous ones, count will stay same) to the newly added units and thus preventing them to be added at the Project Inspector.
See this excerpt from my project info file:
&LtPos;Units Count="5"> &LtPos;Unit0> &LtPos;Filename Value="project1.lpr"/> &LtPos;IsPartOfProject Value="True"/> &LtPos;/Unit0> &LtPos;Unit1> &LtPos;Filename Value="src/forms/unit_main.pas"/> &LtPos;IsPartOfProject Value="True"/> &LtPos;ComponentName Value="FormMain"/> &LtPos;HasResources Value="True"/> &LtPos;ResourceBaseClass Value="Form"/> &LtPos;/Unit1> &LtPos;Unit2> &LtPos;Filename Value="src/datamodule/unit_datamodule.pas"/> &LtPos;IsPartOfProject Value="True"/> &LtPos;ComponentName Value="DataModule1"/> &LtPos;ResourceBaseClass Value="DataModule"/> &LtPos;/Unit2> &LtPos;Unit3> &LtPos;Filename Value="src/forms/unit_settings.pas"/> &LtPos;IsPartOfProject Value="True"/> &LtPos;ComponentName Value="FormSettings"/> &LtPos;HasResources Value="True"/> &LtPos;ResourceBaseClass Value="Form"/> &LtPos;/Unit3> &LtPos;Unit20> &LtPos;Filename Value="src/frames/unit_frame_data.pas"/> &LtPos;IsPartOfProject Value="True"/> &LtPos;ComponentName Value="Frame1"/> &LtPos;HasResources Value="True"/> &LtPos;ResourceBaseClass Value="Frame"/> &LtPos;/Unit20> &LtPos;/Units>
Additional information:
(Probably) Related to this bug report https://bugs.freepascal.org/view.php?id=22752
Attached file is the failing project info file.