[Mono-list] problem with xbuild not returning failure exit code
radical at gmail.com
Tue Jul 12 15:40:08 EDT 2011
On Wed, Jul 13, 2011 at 12:16 AM, James Jeffers <jjeffers at adzerk.com> wrote:
> 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?
Nope. Which version of xbuild? Could you post the build log? Do you get
the same issue when invoking xbuild in a terminal?
> Mono-list maillist - Mono-list at lists.ximian.com
Blog : http://www.ankitjain.org/blog
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list