Search code examples
c#.netvisual-studiovsixvspackage

Single VSPackage with a context menu item and options page


I am struggling to find out how to make two seperate controls in a single VSPackage. Currently I have two seperate projects (a context menu and an options page) that build into two seperate VSIX installers. I can't find a single example on how to make multiple menu items in one project or two projects building into one installer. How and what is the best way to accomplish this?


Solution

  • You can add a VSIX dependency to another VSIX project using the .vsixmanifest file. The resulting installer will install both projects. See How to: Add a Dependency to a VSIX Package.