VS2010:如何删除/隐藏“外部依赖项"?解决方案资源管理器中的文件夹 [英] VS2010: how to remove/hide the "External Dependencies" folder in Solution Explorer
问题描述
在VS2010中,他们向所有项目添加了一个名为外部依赖项"的虚拟目录:
In VS2010 they added to all projects a virtual directory called "External Dependencies":
替代文本http://koper.wowpanda.net/externaldeps.PNG
这真的让我感到困扰,特别是因为如果有一个名为"Apple"的普通文件夹和一个名为"Deep"的文件夹,它将位于两者之间,而且我认为它提供的信息也是完全没有用的.
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.
有什么方法可以删除或隐藏它?
推荐答案
Don't know if you figured this out yourself but looking at this page you can disable it in the Options dialog (from the Tools menu).
在右侧面板上,展开文本编辑器"部分,然后展开C/C ++,然后单击高级".将禁用外部依赖项"文件夹设置为True,然后重新启动Visual Studio.
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.
正如Michael在评论中提到的那样,显然您无需重新启动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.
这篇关于VS2010:如何删除/隐藏“外部依赖项"?解决方案资源管理器中的文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!