einaregilsson / StopOnFirstBuildError

Visual Studio extension to stop solution build immediately after a projects fails to build.
http://einaregilsson.com/stop-build-on-first-error-in-visual-studio-2010/
51 stars 17 forks source link

ContinueOnError="true" #2

Closed trailway closed 10 years ago

trailway commented 11 years ago

I love stop on first build and am using it in VS2012. I have a BeforeClean target which can fail but I want the build to continue if it does. The way that I handle this is something like this:

einaregilsson commented 11 years ago

Unfortunately the notification I get from VS only has a boolean parameter, success, which apparently is set to false if your pre-build step fails. The only thing I can recommend is that you somehow catch the error in your pre-clean step and suppress it there..

trailway commented 11 years ago

Thanks for the response Einar.

Richard

On Sat, Sep 29, 2012 at 3:15 PM, Einar Egilsson notifications@github.comwrote:

Unfortunately the notification I get from VS only has a boolean parameter, success, which apparently is set to false if your pre-build step fails. The only thing I can recommend is that you somehow catch the error in your pre-clean step and suppress it there..

— Reply to this email directly or view it on GitHubhttps://github.com/einaregilsson/StopOnFirstBuildError/issues/2#issuecomment-9007736.