Visual Studio 2008 Web Project (website) How to exclude a folder from a project

I have a web application or website in VS 2008. One folder is populated with over 50,000 files during a debugging session. The problem is that on Visual Studio it takes forever once these folders are full of all files.

In a class library project, I can right click and exclude from the project. How can I exclude a folder / directory from a website project using Visual Studio 2008?

+3


a source to share


2 answers


Not ideal, but you can set folders to hidden in Explorer and then they don't load in Visual Studio ...



Not ideal, because when directories are hidden, the code that writes files to those directories fails with permission errors.

+1


a source


The article "Some Techniques for Better File Management in Visual Studio 2005 Web Projects" at http://msdn.microsoft.com/en-us/library/Aa479565 may help you.



+1


a source







All Articles