I have a problem with an error that occurred lately in one of my finalbuilder projects:
A build action (VS2003 .NET solution) builds a relatively large project. Everything runs fine and I get all the results I want. No errors and nothing failed. Nevertheless the build action fails!
An action fails only if an error code <> 0 returns from the called tool, right? Please correct me, if that's not right. That would mean that an error code > 0 is delivered because of - that's only a guess - the skipped OpenAccess classes, but that shouldn't be an error (because it is none).
Does anybody has experiences with troubles like this and can give me a hint what to do now? Anybody who works with Vanatec's OpenAccess as well?
I have to sort that out somehow and any help would be highly appreciated.
To work around a shortcoming in some Visual Studio versions where sometimes the exit code is zero despite “0 succeeded” projects, FinalBuilder explicitly checks for this string in the output.
I’ll fix it so that it checks for the inverse (> 0 succeeded projects) instead, and provide you with a test build ASAP.
If I got you right: You can't rely on the Visual Studio exit code and therefore you parsed for the output string "0 succeeded" ??? Means MS doesn't provide consistent exit codes?
Or is it only exit code 0 and "0 succeeded" - only in that case? I mean "0 succeeded" doesn't mean something failed. Maybe there was nothing to build for example. If you have to parse for some output strings to determine the result then why not parse for the number of failed ones?
> I'll fix it so that it checks for the inverse (> 0 succeeded projects) instead, and provide you with a test build ASAP.
That would be great, because we started using Vanatec's Open Access more and more and the problem will then probably occure in every of those projects (when OpenAccess enhancement is deactivated).
Here’s a link to a FinalBuilder test build which checks for failed projects instead of zero succeeded. It should work with your setup, please let us know how you go.