Tag Archives: VS 2015

VSIX Extension : how to add an icon to your command

This post explains how to add an icon to your VSIX extension.
(this was done using visual studio 2015 and relates to the following project : CExtensions-EFModelGenerator. see the Extension project)

A. Get a .ico file. You can create one or get a png file and find a converter online… there are plenty of them.

B. open your *.vsct file and add a GuidSymbol Element. To generate the guid : from file menu : Tools => Create Guid

 <GuidSymbol name="EfModelCommand_Icon_Symbol" value="{363F9640-FBB7-4403-AB20-9A53EA067ECA}">
      <IDSymbol name="EfModelCommand_Icon_ID" value="1" />
 </GuidSymbol>

To generate the guid : from file menu : Tools => Create Guid, select registry format, copy and paste it

create_guid

Continue reading VSIX Extension : how to add an icon to your command