I'm creating an Add-In for Visual Studio 2010.
I want to add the context menu item to the tab during Add-In loading (in OnConnect method of the Add-In):
I do know how to add the menus using CommandBars. I already added commands into "Tools" and "Solution Explorer" men开发者_如何学Gous.
I just cannot find the CommandBar responsible for the menu, I need.
Can anybody help me?
Solution found.
You can enable logging of chosen menus.
Details:
http://blogs.msdn.com/b/dr._ex/archive/2007/04/17/using-enablevsiplogging-to-identify-menus-and-commands-with-vs-2005-sp1.aspx
http://blogs.msdn.com/b/dr._ex/archive/2007/04/17/using-ivsproffercommands-to-retrieve-a-visual-studio-commandbar.aspx
精彩评论