Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rename a Project in Visual Studio 2017

I have a Solution in Visual Studio 2017 and one of the Projects is an ASP.NET Web Forms application. How can I rename the Project? I changed the name in the .sln file but within the IDE it is still showing the old name. The folder name matches the required name.

like image 682
JamesO Avatar asked Mar 31 '17 07:03

JamesO


People also ask

How do I rename a project name?

Renaming ProjectsRight-click the root folder of your project and select Refactor | Rename from the context menu or press Shift+F6 . In the dialog that opens, choose the rename strategy. If the project name is the same as the name of its root folder, select Rename directory.


2 Answers

In Visual Studio Enterprise 2013, right click en Solution and search in contextual menu the option "Rename", there put you new solution name solution rename

like image 91
Andy Luis Avatar answered Oct 19 '22 18:10

Andy Luis


Thanks for the response. I had already tried editing the .sln file but it made no difference. I finally found the problem was in the applicationhost.config file. Once I edited that the new name appeared.

like image 23
JamesO Avatar answered Oct 19 '22 18:10

JamesO