visual-studio Visual Studio:重新启用“构建失败,上次运行成功?” 对话框
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2925125/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Visual Studio: Re-enable "Build failed, run last success?" dialogue box
提问by Nick Heiner
When a build fails, VS pops up with an option to run the last successful build. Someone clicked "Yes" and "Don't show this dialogue box again" on my machine, and now I'm stuck with that setting. How can I reset it?
当构建失败时,VS 会弹出一个选项来运行最后一次成功的构建。有人在我的机器上单击了“是”和“不再显示此对话框”,现在我坚持使用该设置。我怎样才能重置它?
回答by Simon
The process is as follows for Visual Studio 2010and above (but should be similar for previous versions):
过程如下Visual Studio 2010(但对于以前的版本应该类似):
- On the menubar go to:
'Tools' --> 'Options' - Go to
'Project and Solutions' --> 'Build and Run' - There you can find a combobox under the label
'On run, when build or deployment errors occur...'. Select an appropriate option.
- 在菜单栏上转到:
'Tools' --> 'Options' - 去
'Project and Solutions' --> 'Build and Run' - 在那里,您可以在标签下找到一个组合框
'On run, when build or deployment errors occur...'。选择一个合适的选项。

