none
Visual studio 2019 package menu RRS feed

  • Question

  • Dear experts,

    I have a Visual studio package targeting VS2015 and up. The package has a menu that is supposed to show on the top level. The topmost menu item is declared in VSCT file like this:

          <Menu guid="guidPackageCmdSet" id="MainMenu" priority="700">
            <Parent guid="guidSHLMainMenu" id="IDG_VS_MM_TOOLSADDINS" />
            <Strings>
              <ButtonText>&amp;Main Menu</ButtonText>
            </Strings>
          </Menu>
    

    As you can see, the parent item has guid guidSHLMainMenu and id IDG_VS_MM_TOOLSADDINS.

    In VS2015 and VS2017 this menu item appears in the top level menu before "Tools". But in VS2019 this menu shows up as the "Extensions" submenu. I have two questions:

    1. Why identically defined menu items show up in different locations in VS 2017 and VS2019?

    2. Is there any way to make an extension menu part of the VS top level menu?

    Best regards,

    Victor.

    Wednesday, August 28, 2019 7:33 PM

Answers

All replies