I am trying to create an additional menu item for the “Project and Solutions Context Menus>Solution” menu. However, I wanted this context menu to appear ONLY when a certain solution was opened, otherwise I don’t want it to show. I figured I could use the MACROS within the Visual Studio IDE. There are events that run on the opening of solutions & projects, etc.
My question is, can I create the Context Menu I want programatically, point it to the MACRO I want it to run, and then programatically attach it to the CONTEXT menu inside the IDE that I want to display it in?
I found the answer to my question. I used the following code to create the menu items I needed: