eidylon
eidylon

Reputation: 7248

Exclude a directory from loading in a web project in Visual Studio 2012

We have a CMS site, where the user has uploaded a lot of content into the content directory of the site, for a lot of articles.

It takes a really long time to open this project because of loading all these sub-directories (one per article).

Is there any way to tell Visual Studio NOT to load a particular directory in the site? This directory has no code files in it, and nothing I would want to edit as part of development.

Upvotes: 3

Views: 1290

Answers (1)

Aximili
Aximili

Reputation: 29484

If this is a "Web Site" project with no .csproj file, you may have to set the folder to Hidden.

Visual Studio does not load hidden folders.

http://forums.asp.net/t/1179077.aspx/1

Upvotes: 6

Related Questions