I have a .NET project with a Rake build script. Rake calls msbuild.exe to do the actual compilation. When I configure a TeamCity 5.0 build using the Rake runner, compilation errors are not recognized as such by TC. When a compilation error occurs:
- The build does abort and is flagged as a failure;
- The log overview does not contain the compilation error message. I have to go to Build Log -> All Messages to see the failure;
- The compilation failure is not reported via email. The {COMPILATION_ERRORS} placeholder in my email notification template is replaced with a blank string.
What do I have to do to get TC to recognize the compilation errors?