Hi,
I am writing a Visual Studio extension and adding a menu item to an existing menu (such as the project context menu) using a .vsct (Visual Studio XML Command Table) filehttp://msdn.microsoft.com/en-us/library/bb166366.aspx. I was able to add new menu item at Project level, now I have other requirement of adding other menu item when user click on file level new menu item, button has to display just below Open menu item.
<Button guid="" id="cmdidCreateMockService" priority="">
<Icon guid="guidImages" id="bmpPicSearch" />
<CommandFlag>DynamicVisibility</CommandFlag>
<Strings>
<CommandName>cmdidRunThisFile</CommandName>
<ButtonText>Run this file</ButtonText>
<MenuText>Run this file</MenuText>
<ToolTipText>Run this file</ToolTipText>
</Strings>
</Button>
</Buttons>
Thanks,
Showkath
Best Regards Showkath