I am currently working on an add-in in visual studio that needs to be run on asp.net websites. I have added the add-in command bars to appear in the right click menu of 'Web Project Folder' and 'Web Item'. Now, the user should be able to right click on a file or the web project folder to see the add-in option available and run the add-in on the selected file (not the active document).
I just needed to know how to retrieve the file name of the file or folder that user right clicked and selected the add-in option to run.
someone please help.