开发者

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

开发者 https://www.devze.com 2022-12-20 21:32 出处:网络
I have a web application or web site in V开发者_C百科S 2008. One folder gets populated with over 50 000 files during a debugging session. The problem is that it takes forever for Visual Studio to load

I have a web application or web site in V开发者_C百科S 2008. One folder gets populated with over 50 000 files during a debugging session. The problem is that it takes forever for Visual Studio to load once these folders are populated with all the files.

In a class library project I can right click and exclude from project. How is it possible to exclude a folder/directory from a web site project using Visual Studio 2008?


Not ideal, but you can set the folders to hidden in explorer, then they don't get loaded into Visual Studio...

Not ideal at all , because once the directories are hidden code that is writing files to these directories fail with permission errors.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消