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

蓝咒 提交于 2020-01-04 04:11:52

问题


I have a web application or web site in VS 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?


回答1:


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.




回答2:


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.



来源:https://stackoverflow.com/questions/2279006/visual-studio-2008-web-project-web-site-how-to-exclude-a-folder-from-the-proje

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!