This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I attempted to rename a project by copying the entire workspace, then renaming it.
Didn't work - CCS V5.4 would open the new workspace but refuses to find any of the files within.
Fine.
I return to the original project - wherein no changes were made - but now CCS V5.4 refuses to see anything there also.
Now I'm stuck. How the heck does CCS manage to ignore a project which hasn't been changed?
How do I properly change a project name and retain access to the files (mainly main.c) within?
There must be a simple answer.
Dennis Kodimer said:I attempted to rename a project by copying the entire workspace, then renaming it.
Can you elaborate a bit more on how you renamed the project? Did you use the context menu within the CCS Project Explorer view or did you just rename the project folder? The recommended method is shown here (you can rename a project or copy and paste to keep a copy of the original project), and works in most cases except corner cases which may be buggy. CCS 5.4 is also a slightly old version, is there any chance you could update to the latest CCSv6?
Dennis Kodimer said:I could recover by starting a new project and copying the source files - but oughtn't there be an easier way?
Starting a new project would certainly be the safest bet, especially if the project was somehow corrupted. Before you do that though there is one thing you could try, however if it is the project itself that is corrupted this may not help. Start up CCS, select a new workspace and import your project into it (select "Copy project into workspace" so you make a physical copy in the new workspace), and see if that allows it to build. If it does not, you would have to re-create the project.