Visual Studio:重新启用“构建失败,是否最后一次成功?” 对话方块


92

当构建失败时,VS弹出并带有一个选项,以运行最后一次成功的构建。有人在我的机器上单击“是”和“不再显示此对话框”,现在我被该设置所困扰。如何重置?

Answers:


136

对于Visual Studio 2010以上版本,此过程如下(但对于以前的版本,该过程应与此类似):

  • 在菜单栏上转到: 'Tools' --> 'Options'
  • 'Project and Solutions' --> 'Build and Run'
  • 您可以在标签下找到一个组合框'On run, when build or deployment errors occur...'。选择一个适当的选项。
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.