We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
If I rename a project file (say: test.uv2) to a different name (say: test.ct.uv2), KEIL still refers to the old project file. However, I could not observe any occurrence in the content of the new project file. This turns to a problem if I for example use the "find in files" feature in uVision3. Once I press OK, a dialog box shows up saying that it "Cannot write project file test.uv2", even though I am already using the new project file name. Therefore my question: How to remove all the dependencies which refer to the old project file name?
Note that there are two files that constitute a uVision project: project.uv2 project.opt
See: http://www.keil.com/support/man/docs/uv3/uv3_b_filetypes.htm
Maybe you need to rename both, or just delete the .opt?
You should also ensure that you delete all output files with the old project name - a full build won't necessarily do this for you.
I'm using V3.51 and cannot observe that behaviour. I successfully renamed a project and applied "find in files" without problems. As far as I know, there is only one reference to the project name in the project file: The default name for the output file is the project name.
IMHO 'find in files' is just stupid. It only remembers one root directory, so you are forever having to fix it if you are using multiple projects. What you really want is a 'find in project' facility.
Thanks, this solved the issue.
Absolutely!