It's possible that some of the bookkeeping information that the IDE uses has become corrupt. Try the following commands to force the IDE to review and update this information:
Project > Remove all Object Code
Project > Re-search for Files
Project > Reset Project Entry Paths
Project > Synchronize Modification dates
And see if that helps.
If it doesn't, try the following:
Repeat the above steps.
Quite the IDE.
Go into the
YourProjectName folder and delete the folder
YourProjectName_Data.
Relaunch the IDE and rebuild your project.
Warning: This second technique is like hitting the IDE in the head with a hammer, and it might eliminate certain tool settings. If you're doing anything exotic with say, compiler settings, make sure you write those down before doing this so that you can restore them. HTH.
---Tom