Build fails when it hits unit tests project.
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?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | 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
Support Staff 1 Posted by Feodor Fitsner on 27 Jun, 2014 10:00 AM
Hi James,
There is an error message: https://ci.appveyor.com/project/JamesSouth/imageprocessor/build/1.0...
which leads to http://blogs.msdn.com/b/dotnet/archive/2013/08/12/improved-package-.... This is well-known "chicken-egg" problem with Microsoft.Bcl package (https://github.com/JimBobSquarePants/ImageProcessor/blob/V2/src/Tes...).
To fix that use command-line nuget restore before running msbuild. Put that into "Before build" on Build tab of project settings:
Let me know how that works.
2 Posted by james_south on 27 Jun, 2014 02:23 PM
Ah brilliant! Works a treat. Thank you :)
james_south closed this discussion on 22 Aug, 2015 08:19 AM.