The trouble is of course that projects and solutions are arranged in
directories of the same name so even if you rename a project you still have
the same directory name.
You can rename a project or solution by typing a new value into the solution
view. This changes the name of the project or solution file. You then need
to change the names of the assemblies generated by the project, this is done
in the project properties.
Finally, when the solution is closed you can rename the directories. Beware
however because if you have multiple projects in a single solution you need
to make sure that you update the projects after you've renamed them. This
will usually consist of you having to remove the projects that are not found
because you've changed the directory names and adding the existing projects
back again from the newly named directories. This will also imply that you
will need to verify and possibly modify the project dependencies and
build-order.
--
Bob Powell [MVP]
Visual C#, System.Drawing
Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
"boops boops" <vi*********@xs4all-dot-nl.no-spam.invalid> wrote in message
news:42********@127.0.0.1...
Perhaps this is obvious to everyone but me, but how do you rename an
existing project when using the .NET IDE? It allows you to save the
current form as something else, but not the whole project. Am I stuck
with going through all the files and directories and renaming them?
regards, boops boops (no relation of Betty)
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com