Search code examples
c#visual-studiovisual-studio-2017vs-web-site-project

Visual Studio - Web Project - add existing area folder


We have a big Web Project with Many areas. One area is not included into the project, but its folder exists on the disk (and I also added it to Source Control).

I cannot figure out how to add that Area into the project. There seems to be no option for this. I am using Visual Studio 2017.


Solution

  • Above the solution tree is a button to show all files in the folder. When you click it, your folder will appear in the solution. On this folder click right "Add to solution".

    Now your folder is part of the solution and you can hide the unnecessary items.