Change Project name

  • Thread starter Thread starter Hugh
  • Start date Start date
H

Hugh

Hi there,

An existing solution is used to create a new solution. It
is easy to change the names of individual forms and
modules. However, how to change the name of project
folder? Thanks in advance for your help.

Hugh
 
The folder name is irrelevant. You can change that using Windows
Explorer. To change the name of the project you can right click on it.
 
Chris,

Thanks for your message. I knew it is irrelavant and I
could change using Windows Explorer. But whole solution
will not work if I change only project folder name.

Hugh
 
hugh said:
Thanks for your message. I knew it is irrelavant and I
could change using Windows Explorer. But whole solution
will not work if I change only project folder name.

Select the solution in solution explorer, press the F2 key and enter the new
name.
 
Thank you, Herfried, for your help. The method you
metioned will enable to change "Solution name" not project
name. I have project under solution. Project name is
invisible in solution explorer window.

Hugh
 
In my IDE, I can change the 'Project' name and it is visible in the Solution
Explorer View.
On Selecting the Project name the property window shows the name of the
Project File.
And I can change the name from there.

May b u r missing something.
HTH
rawCoder
 
I might not make it clear. The name in solution explorer
can be changed. However, folder name in the hard disk (or
in windows explorer) is not. How to I change the folder
name?

Hugh
 
Hugh said:
I might not make it clear. The name in solution explorer
can be changed. However, folder name in the hard disk (or
in windows explorer) is not. How to I change the folder
name?

Close the project in VS.NET and change the folder's name in Windows
Explorer.
 
Hi Herfried,
Thanks for your reply again. The solution will not be able
to find specified path when lauched if project (folder's
name) is changed outside of IDE.

Hugh
 
Hugh, you must be talking about a web application, because a windows
applications do not hard code paths. It should allows you to change solution
name and directory. If it's a web application, open ***.sln file in notepad
and change the application path. You will need to change path in IIS too.
Fer
 
Hugh said:
Thanks for your reply again. The solution will not be able
to find specified path when lauched if project (folder's
name) is changed outside of IDE.

You may want to re-add the project to the solution or edit the solution file
using notepad (don't forget to make a backup...).
 
Back
Top