Sep
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.

About the Author: Utkarsh Shigihalli

Utkarsh Shigihalli works as a Team Lead in one of the globally leading technology, consulting and outsourcing firm. He has developed several Visual Studio addins and other utilities which are well appreciated by many developers.

Leave a comment