The elusive list of icons for visual studio plugins/addins

I love Microsoft but sometimes they just don’t make it easy.  The documentation for visual studio add-in development talks about passing an Id of the icon you want to use when adding new commands to visual studio menus but they never tell you where to find that list of icons.  From the MSDN documentation for Commands.AddNamedCommand Method:

MSOButton
Type: System.Boolean
Required. Indicates whether the named command’s button picture is an Office picture. True = button. If MSOButton is False, then Bitmap is the ID of a 16×16 bitmap resource (but not an icon resource) in a Visual C++ resource DLL that must reside in a folder with the language’s locale identifier (1033 for English).
Bitmap
Type: System.Int32
Optional. The ID of a bitmap to display on the button.

Luckily, someone else on the internet has stepped up and done the work.  Here is a link to their site:

http://www.kebabshopblues.co.uk/2007/01/04/visual-studio-2005-tools-for-office-commandbarbutton-faceid-property/

Leave a Reply

Your email address will not be published. Required fields are marked *