visual-studio VS2010:如何在解决方案资源管理器中删除/隐藏“外部依赖项”文件夹
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 
原文地址: http://stackoverflow.com/questions/2466286/
Warning: these are provided under cc-by-sa 4.0 license.  You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
VS2010: how to remove/hide the "External Dependencies" folder in Solution Explorer
提问by Thomas Bonini
In VS2010 they added to all projects a virtual directory called "External Dependencies":
在 VS2010 中,他们向所有项目添加了一个名为“External Dependencies”的虚拟目录:
alt text http://koper.wowpanda.net/externaldeps.PNG
替代文字 http://koper.wowpanda.net/externaldeps.PNG
It really bothers me especially because if there is a normal folder named "Apple" and one named "Deep" it will be in between the two, and also the information it gives is, in my opinion, completely useless.
这真的让我感到困扰,特别是因为如果有一个名为“Apple”的普通文件夹和一个名为“Deep”的文件夹,它将介于两者之间,而且它提供的信息在我看来完全没有用。
Is there any way to remove or hide it?
有没有办法删除或隐藏它?
回答by Samuel
Don't know if you figured this out yourself but looking at this pageyou can disable it in the Options dialog (from the Tools menu).
不知道您是否自己发现了这一点,但是查看此页面,您可以在“选项”对话框(从“工具”菜单中)中禁用它。
On the right side panel expand the Text Editor section, then expand C/C++ and then click on Advanced. Set the Disable External Dependencies Folder to True and restart Visual Studio.
在右侧面板上展开文本编辑器部分,然后展开 C/C++,然后单击高级。将禁用外部依赖文件夹设置为 True 并重新启动 Visual Studio。
As mentioned by Michael in the comments, apparently you don't need to restart Visual Studio but can just close and re-open the solution to see the effects.
正如迈克尔在评论中提到的,显然您不需要重新启动 Visual Studio,而只需关闭并重新打开解决方案即可查看效果。

