dotnet / project-system

The .NET Project System for Visual Studio
MIT License
969 stars 387 forks source link

Renaming project should rename folder #111

Open davkean opened 8 years ago

davkean commented 8 years ago

From @davkean on March 24, 2016 17:0

UserVoice: https://visualstudio.uservoice.com/forums/121579-visual-studio-2015/suggestions/3282247-rename-project-folders-and-files

Today, it is extremely painful to rename a project and then rename the folders that contain it (you have to remove the project from the solution, and then readd it).

We should just rename the containing folder if it matches the name of the project.

Copied from original issue: dotnet/roslyn#10062

davkean commented 8 years ago

From @hmemcpy on March 24, 2016 17:5

+100000

davkean commented 8 years ago

From @ilmax on March 24, 2016 17:34

+100000000

davkean commented 8 years ago

From @D3-LucaPiombino on March 24, 2016 21:36

Remember that this should also play nice with source control integration providers :)

davkean commented 8 years ago

From @MgSam on April 20, 2016 22:38

I weep then I think of the years of my life I've wasted removing projects from solutions, renaming the folder to match our naming conventions, and then readding them.

svick commented 8 years ago

Should this also change the default namespace and the namespace of files in the project? Project name and the default namespace are often the same, or at least related.