
所以,不知道还能描述什么,但是当我遇到任何编译错误并按 F5 时,我的 Visual Studio 会自动构建最后一个成功的版本,如果我确实想这样做,我至少想先问问我。
答案1
以上版本的过程如下Visual Studio 2010
(但与以前的版本应该类似):
- 在菜单栏上转到:
'Tools' --> 'Options'
- 去
'Project and Solutions' --> 'Build and Run'
- 您可以在标签下找到一个组合框
'On run, when build or deployment errors occur...'
。选择一个合适的选项。