I have been trying to add another option in the right click menu (just above Add references) to build some come packages.
I am using VSPackaging (VS 2010) for this. The problem is I am not able to get the correct Guid with which I can get the button in its right place.
I tried the following:
<Menu guid="guidSHLMainMenu" id="IDM_VS_CTXT_ITEMNODE" priority="0x0000" type="Context">
but this only gets as far as getting a control at an item level and not at the project level.
May be this is too old thread but in case if someone reach here you can find the answer
We have to use a different Id if we have to add a new menu item to the Project level content menu
Please replace IDM_VS_CTXT_ITEMNOD with IDM_VS_CTXT_PROJNODE
You can follow a different approach which is the most suitable method if you don't know the Id for a particular menu.
Please check the link to see the solution VSIX: Adding a Menu Item to the Visual Studio Editor Context Menu
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With