0

I create ASP.NET Core 1.1 by Visual Studio 2019 Community. I exclude directory wwwroot,

enter image description here

then I don't know how to undo this action.

I try like this https://stackoverflow.com/a/1352560/3728901 but context menu like this didn't exist.

How to undo "Exclude folder" in Visual Studio 2019?

James Graham
  • 39,063
  • 41
  • 167
  • 242

2 Answers2

7

do like this in Visual studio 2019

enter image description here

James Graham
  • 39,063
  • 41
  • 167
  • 242
  • 1
    Also have a look at the .csproj file, it may contain old exclude/include statements. – eduherminio Aug 29 '19 at 08:43
  • FYI: this DID not work for me until I selected the actual folder (in my case Models) and then clicked Show All Files. Ten the excluded items appeared. – John Apr 02 '21 at 20:07
1

In solution explorer click on the Project node and select show all files then right click wwwroot and select include

Daniel Schmid
  • 477
  • 3
  • 12