How to rename the current Project ?

  • Thread starter Thread starter Wolfgang Meister
  • Start date Start date
W

Wolfgang Meister

Assume the current name of my project is "mytestroj". A couple of project files are
named with this stem name like mytestproj.sln, mytestproj.suo, mytestproj.csproj,....

How can I rename my project to "testproj1" ?

Is it sufficient just to rename all file in WindowsExplorer?

Can I do this from within VisualStudio ?

Wolfgang
 
Hi

the SLN and CSPROJ files are text files, so it is
possible to edit them (when the project is not loaded in the IDE) and to
search and replace the old name with the new one.

Regards,
Husam Al-aáraj
www.aaraj.net
 
[...]
How can I rename my project to "testproj1" ?

Is it sufficient just to rename all file in WindowsExplorer?

Can I do this from within VisualStudio ?

What version of VS?

I can't say that I specifically remember renaming a project, but I have
yet to run into a situation in VS 2005 where I used the "Rename" pop-up
menu command and it didn't just do the right thing. If you're using VS
2005, you should be able to just right-click the project name, choose
"Rename" and pick a new name.

Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top