Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Thursday, February 4, 2010 7:39 AM
Hello,
my question should be quite easy to answer, I hope you can help me.
I have created a new web site into my Visual Studio 2005. I select ASP.NET Web Site and a new solution is created with a project. The name of this project is the rute or path where I have created my application. For example: if I create a folder in my desktop which name is "ApplicWeb1", the name of the project is "C://DOcuments and Settings/MyName/Desktop/ApplicWeb1" and I would like to rename it just to be named as folder name.
If i click on the right button of the mouse to see its properties, there is no chance to rename it.
Could you help me with this?
All replies (5)
Thursday, February 4, 2010 10:39 AM ✅Answered
Since you are using the file-based system for ASP.NET websites, then you do not have an actual project file associated with your "project". In fact, it's not really a project, it's just the path to your ASP.NET files for that application.
Note that there is a solution file that is generated and is usually hidden based on your VS configuration.
Personally, I wouldn't create a folder on my desktop as it still needs to show the path to it in VS.
This is only a development thing; it has no bearing on how you deploy your website.
Tuesday, February 9, 2010 2:35 AM ✅Answered
Hi,
To change the project folder name, please follow the bellow:
- Close the solution in Visual Studio
- Rename project folder
- Open .sln file with Notepad and change corresponding project path to new one.
- Use Visual Studio to open your solution
For more information about renaming things in Visual Studio, see http://dotupdate.wordpress.com/2007/08/14/renaming-things-in-visual-studio/
Thanks.
Thursday, February 4, 2010 10:42 AM
check the link
http://www.eggheadcafe.com/community/aspnet/7/83127/how-to-rename-solutionpr.aspx
Tuesday, February 9, 2010 7:36 AM
Thak you everyone for all replies.
I still have the same problem. I have changed project path to new one but still Ihave my solution and a project which name is the path where it is saved.
There is no option to change it in IDE of Visual Studio and editing .sln file with notepad.
Tuesday, February 9, 2010 10:58 AM
From the Solution Explorer, can you please provide us with your Solution name and your Project name?