What is the easiest and fastest 开发者_如何学编程way to rename a projgect in visual studio 2005, including changing the folder name of the project?
The best way to do that:
- Rename project within VS
- Remove project from the solution
- Manually rename folder
- And finally add project back to the solution
Is the only way I know.
Open the solution->remove the project
Opne Windows Explorer, Rename The Folder and the project
Reload the solution and add the project back in again. Alternatively, you can open the solution file with notepad and change the project path manually
My preferred method:
1) In windows explorer/command line, rename the project file and directory
2) Open the .SLN and search-and-replace the old project name with the new project name
That'll do ya
精彩评论