简体   繁体   English

Visual Studio 解决方案资源管理器/导航器图标的含义

[英]Visual Studio Solution Explorer/Navigator Icons Meaning

I was unable to find any resource listing ALL icons for Solution Explorer and/or Navigator explaining their meanings.我找不到任何资源列出解决方案资源管理器和/或导航器的所有图标来解释它们的含义。 I mean, for somebody new to that, seeing a square, a question mark, or a no entry sign, next to a file, is pretty obscure.我的意思是,对于刚接触这个的人来说,看到文件旁边的方块、问号或禁止进入标志是非常模糊的。

Any help much appreciated非常感谢任何帮助

If you mean the "Source Control Item Status" icons that appear next to files in the tree view.如果您指的是出现在树视图中文件旁边的“源代码控制项状态”图标。

See http://msdn.microsoft.com/en-us/library/ms181372(v=vs.80).aspx请参阅http://msdn.microsoft.com/en-us/library/ms181372(v=vs.80).aspx

这是解决方案资源管理器/类视图/对象浏览器图标的列表: https : //docs.microsoft.com/visualstudio/ide/class-view-and-object-browser-icons (我知道这是一个 7 岁的问题,但这就是我来这里寻找的......不是 SCC 图标)

Here is the link explained in MS document in details: http://msdn.microsoft.com/en-us/library/26k97dbc(v=vs.80).aspx这是 MS 文档中详细解释的链接: http : //msdn.microsoft.com/en-us/library/26k97dbc(v=vs.80).aspx

One thing turned me off in the VS 2010 Solution Explorer is, the dotted tree lines are missing.在 VS 2010 解决方案资源管理器中让我失望的一件事是,虚线树线不见了。 It makes the folder-file relationships very easy to identify.它使文件夹-文件关系非常容易识别。 Without it like current VS 2010, you'll have to struggle to find out what folder a file belongs to.如果没有像当前的 VS 2010 那样,您将不得不努力找出文件所属的文件夹。

I also have not found a comprehensive list of the icons, but can at least report that that the "no entry" icon (red circle with a horizontal white bar) means that the file is not included in the project.我也没有找到完整的图标列表,但至少可以报告“无条目”图标(带有水平白条的红色圆圈)意味着该文件未包含在项目中。

I've hit the strange case where the Properties Window says Included In Project True, but the Solution Explorer shows, correctly, that the file was not included in the project.我遇到了一个奇怪的情况,属性窗口显示包含在项目中,但解决方案资源管理器正确地显示该文件未包含在项目中。 (Moral: Trust the icon.) The fix was, in the Properties window, change Included In Project to False, and then back to True. (道德:信任图标。)修复方法是,在“属性”窗口中,将“包含在项目中”更改为“假”,然后再返回“真”。

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

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