Search code examples
visual-web-developer

Stop building application when error occurs


I want to stop building the application in visual web developer 2008 when a compilation error occurs.

Can anybody help me out?


Solution

  • There is a way to do it programmatically in Visual Studio 2005 / 2008.

    http://www.ehow.com/how_5025041_automatically-visual-studio-build-error.html

    Not sure about Visual Web Developer 2008.

    Give it a go.

    Note though, this will stop a solution build if a project errors. AFAIK You can't programatically stop a project build if an error occurs.