[Mono-list] problem with xbuild not returning failure exit code

James Jeffers jjeffers at adzerk.com
Tue Jul 12 14:46:14 EDT 2011


I've noticed that while using xbuild the returned status/exit code in the
shell is sometimes wrong.

For example, a subproject in a solution will fail with an error, such as

error CS0246 (missing reference)


The text of the console output indicates the problem, even declaring the
that build failed, but the exit code is 0.

This is problematic for our CI process. We're noticing some builds will
fail, and target assemblies will never be built. However the build is marked
as successful because the shell running xbuild detects a "good" exit code.

Is this the desired behavior for xbuild?

Thanks,
James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20110712/4b0d6534/attachment.html 


More information about the Mono-list mailing list