Can Visual Studio prompt before rebuilding?

后端 未结 4 540
半阙折子戏
半阙折子戏 2021-01-17 07:29

Any way to have Visual Studio prompt before rebuilding, or any other way to make it easier to avoid hitting \"Rebuild\" instead of \"Build\"?

I\'ve wasted countless

4条回答
  •  情话喂你
    2021-01-17 08:16

    As far as I know, there is no way to enable a confirmation for performing a project or solution rebuild.

    Your best option is to move or delete the "Rebuild" menu item on the context menu.

    1. Right click the menu/toolbar area in VS and select "Customize..."
    2. Click on the the "Commands" tab.
    3. Select the "Context menu" radio button.
    4. Find "Project and Solution Context Menus | Project" in the dropdown list.
    5. Click on the "Rebuild" menu item in the context menu representation and perform the desired action (delete, move up or down, begin a new group, etc.).

    To reset the menu back to the default state, click the "Reset all" button.

提交回复
热议问题