TeamCity allows me to report back from my MsBuild script using the ##teamcity interaction. I can use this to tell TeamCity that the build has FAILED, or ind
Can you not just use the Error task, this should cause the execution of the build to stop.