Friday, April 17, 2009

Renaming projects in Visual Studio

Its bit more tricky than just hitting right button on project and picking rename command:

1. Rename project by right clicking and chosing "Rename".
2. Rename assembly and set default namespace by right clicking it and chosing "Properties".
3. Rename assembly title and assembly product in AssemblyInfo.cs within Properties folder.
4. Exit visual studio and rename projects folder. After that load solution and skip warning concerning project not being found. Select greyed out project and pick new path in properties window.

No comments:

Post a Comment