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

我的未来我决定 提交于 2019-12-10 18:59:31

问题


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 solution items? Not on project items or something else?

Best regards, D.R.


回答1:


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)



来源:https://stackoverflow.com/questions/7418038/add-context-menu-to-vs-2010-solution-explorer-display-item-on-solution-only

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!