MSBuild build log


Thanks to all @ JetBrains for their speedy responses so far.

I have a question regarding the Build Log which is generated when using the NANT build runner.

I realise that TeamCity replaces any calls to MSBuild with it's own - which uses it's own custom Logger for example.

However, I can't seem to find this build log on the filesystem. I'd like to be able to access it so that I can extract certain information from it (and the NUnit output also) and put this all in a custom Build Report page.

Is there any way I can access the MSBuild log and the NUnit log as artifacts, and have them copied to the artifacts folder?


1 comment
Comment actions Permalink

Okay, I think I may have worked around this and arrived at a satisfactory conclusion. I've provided the answer below in case anyone is interested.

I added my own log output to the NANT script as follows:

<arg value="/property:Configuration=$;SolutionDir=${niagara.dir}\" />

I then added a tab "Build Summary" to the TeamCity build config page, which linked to a HTML template, which embedded this XML and applied an XSLT to it.


Please sign in to leave a comment.