Dylan Slabbinck
Dylan Slabbinck

Reputation: 854

Shared folder in ASP.NET MVC 4 project is hidden

For some reason, my shared folder ,which contains some error pages and my master _layout.cshtml page, is hidden. I can only access it when I click on show all files in my solution explorer. This is not a real problem, everything still works but I know this is not standard.

I don't know how this folder became a hidden folder, but does anyone know how to set the folder visible?

When I browse to my project folder in my file system, the folder is not a hidden folder...
I use Visual studio 2012, os = windows 7 64 bit

Upvotes: 1

Views: 3048

Answers (2)

Alex Marculescu
Alex Marculescu

Reputation: 5770

Just a wild guess here, but can you right click it (in Visual Studio) and "Include In Project"?

Upvotes: 5

Sam Leach
Sam Leach

Reputation: 12956

It will not be included in your .csproj file.

To include it, either open your .csproj file in notepad and add in the lines or remove the folder from the project and add it back in.

Upvotes: 0

Related Questions