Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to stop Visual Studio 2010 on compilation error [duplicate]

At work we have a solution with over 90 projects. I want to know if there is a way to stop visual studio from compiling as soon as it encounters an error. Normally it will compile as far as it can and show a list of errors in the error window.

Any ideas?

like image 542
Dylan Avatar asked Apr 21 '10 11:04

Dylan


1 Answers

There is an extension for Visual Studio 2010 - 2017 for this purpose by Einar Egilsson: http://tech.einaregilsson.com/2011/01/06/stop-build-on-first-error-in-visual-studio-2010/

StopOnFirstBuildError is Visual Studio 2010 extension that cancels the rest of a solution build if a single project fails to compile, thus saving you time. Download it in the Visual Studio Gallery.

like image 64
Sergii Volchkov Avatar answered Oct 01 '22 14:10

Sergii Volchkov