Seems that xbuild does not care about the OnError attribute...