开发者

Add context menu to VS 2010 solution explorer (display item on solution only)

开发者 https://www.devze.com 2023-04-05 08:12 出处:网络
It is fairly easy to add a context menu item to the solution explorer in VS 2010. But how to display the menu item ONLY on solutio开发者_JAVA技巧n items? Not on project items or something else?

It is fairly easy to add a context menu item to the solution explorer in VS 2010. But how to display the menu item ONLY on solutio开发者_JAVA技巧n items? Not on project items or something else?

Best regards, D.R.


Use

<Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_SOLNNODE"/>

and reset the experimental instance before restarting VSX (you can find the reset script in the VS start menu folder)

0

精彩评论

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