解决方案资源管理器 - 我的文件夹的自定义图标 [英] Solution Explorer - custom icons for my folders

查看:23
本文介绍了解决方案资源管理器 - 我的文件夹的自定义图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么办法可以更改文件夹的图标吗?在具有多个区域的大型 MVC 项目中,很高兴看到控制器、模型和视图具有不同的图标(或文本).

Is there any way I can change the icon for my folders? In a large MVC project with a number of areas, it would be nice to see that Controllers, Model and Views have a different icon (or text).

带有 M 或 V 或 C 的文件夹会很好.如果我知道如何替换它们,我就可以创建它们.即使是在基于项目的更改中.

Folder with M or V or C would be nice. I can create those if I know how to substitue them in. Even on a project by project based change.

这是一张屏幕截图,显示某些系统类型文件夹具有不同的图标.

Here is a screenie showing that some system type folders have different icons.

推荐答案

根据以下帖子,这是可能的,但您需要创建自己的项目子类型:http://social.msdn.microsoft.com/Forums/en/vsx/thread/7403bcaf-6389-4a9f-b64b-cd7e297027aa

according to the following post, it is possible, but you will need to create your own project subtype: http://social.msdn.microsoft.com/Forums/en/vsx/thread/7403bcaf-6389-4a9f-b64b-cd7e297027aa

可以在以下位置找到示例的 Microsoft 帮助页面:http://msdn.microsoft.com/en-us/图书馆/bb165055(VS.80).aspx

the microsoft help page for the sample can be found at: http://msdn.microsoft.com/en-us/library/bb165055(VS.80).aspx

并且示例本身在 VS 2010 SDK SP1 中:http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=21835

and the sample itself is in the VS 2010 SDK SP1: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=21835

使用新的托管扩展可能有另一种方法,但是,我没有找到 VS 2010 的示例.

there may be another way to do it with the new managed extensions, however, i did not locate samples for this for VS 2010.

这篇关于解决方案资源管理器 - 我的文件夹的自定义图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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