title: stop solution build on first compilation\link error - msbuild
body: <p>I'm compiling a solution with many projects inside using VS2013's MSBuild. I want the build to stop if one of the projects fails to compile and that the error code of msbuild will be non-zero to indicate something has failed. Can it be done? </p>
  
  <p>I am running this command to start compiling:</p>
  
  <p>%MS_BUILD_PATH% "%workarea%\WindowsSolution.sln" /p:Configuration=Release /p:ContinueOnError=false /p:StopOnFirstFailure=true</p>
  
  <p>but it doesn't work as I want it. Any suggestions?</p>