469,592 Members | 1,757 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,592 developers. It's quick & easy.

renaming a project

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
Nov 21 '05 #1
2 4081
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

Nov 21 '05 #2
Thanks, Bob. That 'of course' doesn't apply to me because I am still a
pretty vague about many aspects of vb.net, having plunged straight in
at the deep end without knowing any visual basic. Your GDI+ tutorial
has been a boon.
regards, bb
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by ABrignac | last post: by
2 posts views Thread by cgparis | last post: by
1 post views Thread by Jason B | last post: by
6 posts views Thread by I_AM_DON_AND_YOU? | last post: by
1 post views Thread by boops boops | last post: by
2 posts views Thread by Brett Romero | last post: by
2 posts views Thread by Alan Mailer | last post: by
3 posts views Thread by Rob | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.