Team Build Errors when there aren't any
I have a nightly team build that is reporting errors from the test step but zero errors in the summary. This results in a partial success.
alt text http://jonesie.net.nz/content/binary/buildsnip.jpg
I cant see any errors in the full build log but maybe it's just t开发者_如何学Pythonhe quantity of warnings??
Anyone got any ideas?
Thanks
The Running tests task failed....if any non-essential task fails, this results in a Partially Succeeded
status. Can you post the MSBuild file being used, specifically the Running tests
section?
That being said, you should always pay attention to the warnings and resolve them whenever possible...they are warnings for a reason. They often alert you to unintended behavior in your code (e.g. a property that doesn't override properly).
Try searching for the string "error :" in the log file.
MSBuild will automatically generate an error if it sees this string in the output anywhere.
So even if the string happens to be "error : 0" (as in everything is just peachy), MSBuild will still exit with an error!
This issue has also been documented here:
http://social.msdn.microsoft.com/forums/en-US/msbuild/thread/77eb8b02-8cd7-4d32-acad-3ab0dc308d78/
精彩评论