Change the Application Name of a VB.net solution

Project1 = existing projects names
Project2 = new name

Rename the Project1 folder where the .sln file resides.
Open the .sln in Nodepad++ and rename all project names instances from Project1 to project2

Rename the Project1.vbproj to Project2.vbproj

Open the .sln in Visual Studio and right click on Solution Properties in Solution Explorer

Change Assembly Name & Root Namespace to the new Projects name.

Upon building VB Designer will complain, as old Project1 name will still be referenced. Do a Search/Replace for Project1 to Project2 throughout the Entire Solution.

Should be ok to do Build – Clean then Rebuild.

Check in appro. Bin folder for build type that the .exe name is correct.

Leave a Reply

Your email address will not be published. Required fields are marked *