Hi,
Question:
I would like to know in detail how to implement programmaticallycontextualmenu item to an existing menu at any available file level in visual studio c# project.
Description:
I have referred various msdn sites/documents I could not get any useful information.
Example: When user creates any c# project and adds any file to that project, when user clicks on file in that project , I would like to show new menu item.
Right now I have below menu items in context menu like open, open with…., view code,,,,etc. in the same way I want to add on custom command programmatically in visual studio in visual studio add in
I got help from msdn add menu command item at project level, facing challenge in adding command at file level.
Need your expertise on implementing contextual menu item on right click, any file on project level in visual studio 2010 c# project.
Not getting much help from msdn.
Please allow me to share my implementation analysis on same.
http://msdn.microsoft.com/en-IN/library/bb164676.aspx
Useful link to found VSCTPowerToy
http://dannythorpe.com/2008/10/08/menu-item-placement-with-visual-studio-vsct-groups-and-priorities/
http://archive.msdn.microsoft.com/VSCTPowerToy
http://dotneteers.net/blogs/divedeeper/archive/2008/03/02/LearnVSXNowPart14.aspx
http://zakimirza.wordpress.com/2008/10/27/visual-studio-add-in-creating-context-menus/
http://uisurumadushanka89.blogspot.in/2013/04/visual-studio-extensibility-get-active.html
I found one tool VSCTPowerToy, to extract code how Microsoft implemented menu items code not able to complete the implementations.
I searched in below tool how they have implemented menu item “Open with “, what are guilds they have used to implement this.
Best Regards Showkath