Sep
9
2009
9
2009
Setting custom toolwindow icon for Visual Studio add-in
I recently completed a minor update to my Favorites Menu for Visual Studio add-in. The new installer is already put under ‘My Development’ section on my site.
The update includes a minor bug fix i.e, toolwindow icon is not set properly inside Visual Studio 2008. I do not remember from where I got the following code, but this worked for me.
Paste the below code in to a Utililty.cs
Usage:
Note:
1. The code above is not tested extensively on different machines.
2. Before using the above code you can check a nice article by Carlos Quintero. He has also written how the icon can be set for Visual Studio 2010 toolwindow.

An article by Utkarsh Shigihalli




