是否可以在Visual Studio 2012中更改图标? [英] Is it possible to change icons in Visual Studio 2012?

查看:141
本文介绍了是否可以在Visual Studio 2012中更改图标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法用 VS2010 替换 VS2012 解决方案资源管理器的图标?至少'文件夹'图标:(

Is there any way to replace VS2012 solution explorer's icons with VS2010 ones? At least 'folder' icon :(

推荐答案

简答:
哈哈老图标进入2012年。

Short Answer: Hack the old icons into 2012.

Visual Studio图标修补程序 - http:// vsip .codeplex.com

Visual Studio Icon Patcher - http://vsip.codeplex.com

长答案:
目前使用插件执行此操作不在问题。我一直无法找到任何内置的方法来实现这一目标,切换到WPF使得更难以破解。

Long Answer: Doing this with a plugin, for now, is out of the question. I've been unable to find any built-in way to achieve this and the switch to WPF makes it even harder to hack around.

此应用程序只是提取来自Visual Studio 2010中非托管DLL的图像资源,并将它们注入到Visual Studio 2012的DLL中。托管资源要复杂得多,尚未添加,尽管我已经开始使用。

This app simply extracts the image resources from the unmanaged DLLs in Visual Studio 2010 and injects them into the DLLs for Visual Studio 2012. The managed resources are a lot more complex and haven't been added in yet, though I have gotten some to work.

由于在检测到深色背景颜色时图标颜色如何反转,初始版本不适用于具有深色树视图背景颜色的主题。这甚至更糟糕e自菜单&现在包括工具栏图标。我正在运行蓝色主题,它看起来很好。

The initial release didn't work well with themes that had a dark Tree View background color due to how the icon colors are inverted when a dark background color is detected. This is made even worse in the newest release since menu & toolbar icons are included now. I'm running this with the Blue Theme and it looks fine.

攻击图标反转的一种方法是编辑所有提取的图像,在图像地图中每个图标的右上角添加一个青色像素。这将把它们排除在反演过程之外。我没有试过这个,因为我在操作图像时很早就遇到了问题。你可以尝试一下,但它会相当手动和耗时,甚至可能无法正常工作。

One way to hack around the icon inversion is to edit all the extracted images to add a single cyan pixel in the top right corner of each icon in the image map. This will exclude them from the inversion process. I haven't tried this though because I ran into issues early on when manipulating the images where they wouldn't display right. You could try it but it'll be fairly manual and time consuming and may not even work.

这篇关于是否可以在Visual Studio 2012中更改图标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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