How to change the names for a solution and project in VisualStudio
1.Change the solution name in Vs
2.Right click on Project and Open the properties.Now change the Default name and Assembly name under Package/Publish Web
3.Change the Project foldername in VS by rightclicking on the project and RENAME
4.Go to folder structure Open VS solution with notepad and Update the the project namespaces
Example:
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "<PROJECTNAME>",
"<SOLUTIONNAME>\<PROJECTNAME>.csproj", "{28D19858-F11C-41E5-98A2-08BD4DED71D6}"
5.Remove all files under bin and obj folders.Solution will not be able to load projects. Remove all projects and add them again.
6.Rename the project name in Project>Views>Web.config
7.Right click on global.asax>click on open with >and the following popup will open>now click on global asax file editor>click OK>change the name of the Projecthere also in inherits
Change project name here
8.Now clean and build the solution again and Check for any changes to be done with the
namespaces in class files anywhere through out the project
How to change the names for a solution and project in VisualStudio
Reviewed by Rejeti Praveen Kumar
on
01:43
Rating:

No comments: