简体   繁体   English

VS2015:如何隐藏解决方案资源管理器中的“参考”文件夹?

[英]VS2015: How to hide the 'References' folder in solution explorer?

I have visual studio 2015, and from past experiences there are a few folders that some people generally don't want, excitedly, these (red):我有 Visual Studio 2015,根据过去的经验,有些人通常不想要一些文件夹,兴奋的是,这些(红色):

在此处输入图片说明

But, I managed to get it down by selecting 'Disable External Dependencies folder' folder option to true, and got this:但是,我设法通过选择“禁用外部依赖文件夹”文件夹选项为真来解决它,并得到了这个:

在此处输入图片说明

But I cannot find any option to disable the leftover virtual folder, how can I disable the 'References' folder?但是我找不到禁用剩余虚拟文件夹的任何选项,如何禁用“参考”文件夹?

I don't think disabling the references folder is possible yet. 我不认为禁用引用文件夹是可能的。 This uservoice suggestion is called "Add option to disable References folder in Solution Explorer tab" and is still open. 此uservoice建议称为“添加选项以禁用”解决方案资源管理器“选项卡中的”引用“文件夹”并仍处于打开状态。

this is a default option in visual studio and you can't hide it. 这是visual studio中的默认选项,您无法隐藏它。 you can set scope to special folder or make a new view of your solution explorer instead of remove or hide a part of solution explorer 您可以将范围设置为特殊文件夹或创建解决方案资源管理器的新视图 ,而不是删除或隐藏解决方案资源管理器的一部分

I feel yor pain, HATE that view.我觉得你很痛苦,讨厌那种观点。 You 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 .在右侧面板上展开Text Editor部分,然后展开C/C++ ,然后单击Advanced Set the Disable External Dependencies Folder to True and restart Visual Studio.禁用外部依赖文件夹设置为 True 并重新启动 Visual Studio。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM