Visual Studio 2008 Web 项目(网站)如何从项目中排除文件夹 [英] Visual Studio 2008 Web Project (Web Site) How to exclude a folder from the project

查看:27
本文介绍了Visual Studio 2008 Web 项目(网站)如何从项目中排除文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 VS 2008 中有一个 Web 应用程序或网站.在调试会话期间,一个文件夹中填充了超过 50 000 个文件.问题是,一旦这些文件夹填充了所有文件,Visual Studio 就需要永远加载.

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.

在类库项目中,我可以右键单击并从项目中排除.如何使用 Visual Studio 2008 从网站项目中排除文件夹/目录?

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?

推荐答案

不理想,但您可以将文件夹设置为隐藏在资源管理器中,然后它们不会加载到 Visual Studio...

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.

这篇关于Visual Studio 2008 Web 项目(网站)如何从项目中排除文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆