Visual Studio可以在重建前提示吗? [英] Can Visual Studio prompt before rebuilding?

查看:138
本文介绍了Visual Studio可以在重建前提示吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何在重建之前提示Visual Studio的方法,或通过其他任何方法可以更轻松地避免单击"Rebuild"而不是"Build"?

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 hours when I right click on a project and select "Rebuild" on accident when I meant to click "Build".

这是针对本机C ++解决方案的.

This is for a native C++ solution.

推荐答案

Visual Studio 2010允许自定义菜单.您可以从项目上下文菜单中删除重建"项.或者,您可能只想将重建"命令从构建"命令移开,这样就可以减少意外击中错误项目的可能性.

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.

从VS 2010开始,

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.

这篇关于Visual Studio可以在重建前提示吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆