dotnet-practitioner
dotnet-practitioner

Reputation: 14148

vs2003: how to stop build at the first error

So as I attempt to build a huge solution with about 200+ projects..

  1. How do I stop the build at the very first error instead of waiting till the whole build is finished.

  2. Where do I read the log of the build or the output of the build?

  3. If I am able to stop the build at first error, where is the file located so I could read that error.

At this point, I can not change the solution file in any way.

Upvotes: 1

Views: 170

Answers (2)

Daniel Mošmondor
Daniel Mošmondor

Reputation: 19956

BTW, you can find REAL answer here:

Visual Studio option - Stop on any project error

To add some value to it:

When running 'test' builds, turn concurrent builds option down to ONE! Else, it will stop the build on first error, but will wait for all parallel builds to complete. And will clutter your output window.

Upvotes: 0

AlvinfromDiaspar
AlvinfromDiaspar

Reputation: 6814

You can always do Ctrl + Break (this cancels the build process). Though you'll have to watch the Output windows to see if an error occured.

You can view the log of the build results/progress from the Output window (be sure the Build option is selected).

Upvotes: 1

Related Questions