我不小心将visual studio 2019的Error Message 'There were build errors. Would you like to continue and run the last successful build? 提醒对话框改成不在提醒了,每次程序运行都是上次成功运行的结果。很是无语,现
“There were build errors. Would you like to continue and run the last successful build?”
Most people click the “Do not show this dialog again” checkbox and then press “Yes”. As a result of this, instead of the current code, last build runs all time with no more dialog box and this is something the developers would never want.
So, how do we undo this change?
We will focus on the solution on Visual Studio 2017.
Tools > Options > Projects and Solutions > Build and Run
As the result of our selections, the form on Build and Run has these selections. The selection in the second dropdown “On Run, when build or deployment errors occur”, even if the code has the error during the run, project runs with the last successful build. That’s why it should be changed.
The “prompt to launch” option from the 3 options you see above will allow us to return to the desired behavior.
It has the selection of what we want.
Have error-free code!
在怎么改回来啊,求大神帮助。。。