Our builds succeed with warnings. After investigation of the output we noticed failing unit tests. But local they run fine. Here’s what we did to troubleshoot and fix the issue.
First we downloaded the build output from the drop location. This can be done from the build summary.
With the output from the build we run the unit tests with xunit gui and got the same failing tests. This is reproducible.
The assemblies are from 10 projects. Apparently the projects use different versions of StructureMap (latest version is incompatible with NServiceBus) and the droplocation contains only one structuremap assembly. This is obviously the wrong version for the unit tests. How about Murphy’s laws 🙂
To get around the version differences we used the PerProject option for the Output location in the build template.
No more failing unit tests after that.