Using IVsProfferCommands to retrieve a Visual Studio CommandBar

If you are an add-in developer, you are probably familiar with adding menu items and toolbar buttons to the Visual Studio environment. In most instances add-in developers take their cue from the code generated by the Visual Studio Add-in Project Wizard. For example, the following code is generated when you create a new C# add-in…

5

Using EnableVSIPLogging to identify menus and commands with VS 2005 + SP1

One of the most frequently asked questions related to Visual Studio Package and Add-in development concerns how to add additional menus and commands to a specific dropdown or context menu in the Visual Studio IDE. Adding the menu or command is the easy part. Add-in developers typically use the Commands2.AddNamedCommand2 and Command.AddControl methods, and Visual…

4