Can Visual Studio prompt before rebuilding?

后端 未结 4 577
半阙折子戏
半阙折子戏 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:14

    Visual Studio 2010 allows for customization of the menus. You can remove the "Rebuild" item from the Project context menu. Or you may want to just move the "Rebuild" command away from the "Build" command so that you will be less likely to accidentally hit the wrong item.

    From VS 2010,

    • Select the Tools Menu
    • Select Customize...
    • Select the Commands tab
    • Select the "Context menu" radio button and select "Project and Solution Context Menus | Project"
    • Select "Rebuild" and move it or remove it.

提交回复
热议问题