Visual Studio - Is there simple way to add 'Close Solution" to r-click in Solution Explorer
In Visual Studio 2010 you can:
- Right click on the Tool menu and click "Customize..".
- Click the "Commands" tab.
- Click the "Context menu" option.
- Select the "Project and Solution Context Menus | Solution".
- Click the "Add Command..." button.
- Select "File" in the "Categories" list box.
- Select "Close Solution" in the "Commands" list box.
- Move up/down as desired.
- Click "Close" and enjoy.
I don't have VS 2008 or 2012 handy, but the steps should be similar.
Edit: For VS2008
- Right click on the Tool menu and click "Customize..".
- Click the "Toolbars" tab.
- Check the "Context menu" option. (the Context Menus tool bar will appear)
- Select Command Tab in the current dialog.
- Select "File" in the "Categories" list box.
- Select "Close Solution" in the "Commands" list box.
- Drag the Command to the "Select the "Project and Solution Context Menus" in the context Menus toolbar. You can drop it anywhere on the menu or in a sub menu - ie "Project and Solution Context Menus | Solution"
- Click "Close" and enjoy.