Build fails when it hits unit tests project.

james_south's Avatar


26 Jun, 2014 10:10 PM

My build is failing as soon as it hits my unit test project with "Command exited with code 1"

Everything runs perfectly on local machines in two locations so I'm not sure what is wrong. Any ideas?

  1. Support Staff 1 Posted by Feodor Fitsner on 27 Jun, 2014 10:00 AM

    Feodor Fitsner's Avatar

    Hi James,

    There is an error message:

    which leads to This is well-known "chicken-egg" problem with Microsoft.Bcl package (

    To fix that use command-line nuget restore before running msbuild. Put that into "Before build" on Build tab of project settings:

    nuget restore src\ImageProcessor.sln

    Let me know how that works.

  2. 2 Posted by james_south on 27 Jun, 2014 02:23 PM

    james_south's Avatar

    Ah brilliant! Works a treat. Thank you :)

  3. james_south closed this discussion on 22 Aug, 2015 08:19 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac