hi guys,
I have the following scenario - I create a new WebSite / WebApplication project in Visual Studio 2013, and i add a simple HTML file. Now when i right click the file in the solution explorer, the context menu shows up, and i'd like to have my own custom menu item there, something like "Open In <another app>". the details are irrelevant. Could you point me to any tutorial or MSDN resource which demonstrates how to do that?
Note that I cannot use the "Open With ... " default dialog, because i'd like some custom code to be executed before my action does its work, also i wouldn't like to use an external program and to have users manually add it there.
My question is basically how to add a custom menu item when i rightclick a file of some type (for instance a HTML file) in the solution explorer. Also, i need to have access to the file's contents - the location of the file in the file system could also work. I suppose i need some sort of a custom Command implementation in VS ? I'd also like to avoid having users to manually configure the context menu. ideally, i would write some extension which they install, and have the context menu item (custom command) appear there automatically for a WebSite/WebApplication project.
Thanks so much !
Angel