开发者

Adding context menu for VS 2010 Add-In on loading

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):

Adding context menu for VS 2010 Add-In on loading

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜