1

Closed

Context menu Icons not appearing

description

After upgrading to the VS2015 version, all the icons associated to the Recipe no longer appears in the Solution Explorer context menu.
      <HostData>
        <Icon ID="630" />
        <CommandBar Name="Project" />
      </HostData>
Icon ID=630 and other Icon IDs are no longer working.
Closed Jun 29, 2016 at 11:27 AM by jelled
Closing due to no response

comments

jelled wrote Aug 27, 2015 at 2:13 PM

To be honest, I don't know exactly how this part of GAX works.

I do know that image lists are generated when the C++ project (in "GAX/Src/VisualStudio/UI") is built, and this generates a .bmp, a .ctc and a ShellCmdDef.Designer.*.cs file for C# and VB, but apart from the actual bitmap images these files are still the same as in the VS2013 branch. So even if this would be where the icons come from I don't see where the problem would come from.

I do often see however that a Guid is specified in the Icon element, e.g. for referencing the C# Project dll:
<Icon Guid="FAE04EC1-301F-11d3-BF4B-00C04F79EFBC" ID="4542" />
Does it help when you specify the GUID? And ensure that the ID refers to a valid icon within the dll being referenced?

wrote Jun 29, 2016 at 11:27 AM