Question

I want to add a new button to the menu when you right click on a solution. I want to add a button to to custom things with TFS and building and would like for it to be available when you right click on a solution. Currently there are several buttons for building cleaning etc. I am able to get a button onto the solution explorer toolbar (Circled in red) but would like to have it appear in the other menu (in the red square) Any help would be appreciated. I followed this tutorial to get to where I am at now. Thanks enter image description here

Was it helpful?

Solution

I can tell you how to add commands to that context menu: under the Tools menu -> Customize, in the Commands tab, click "Context menu:", find "Project and Solution Context Menus | Solution" in the extremely long and unwieldy dropdown, then hit Add Command... and add the command you want in that menu.

I've only used that information to add a macro (to replace the native "Open Containing Folder" command with one that used a different file manager), I've never tried to create my own command that wasn't a macro, but I expect if you were able to get custom Commands in custom buttons, you might also be able to find them in the Add Command dialog as well?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top