Visual Studio: Re-enable "Build failed, run last success?" dialogue box

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?


The process is as follows for Visual Studio 2010 and above (but should be similar for previous versions):

  • 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.