Use CodeCoverage Results from PartCover in MsBuild


I use Teamcity 5 with MsBuild, the NUnitTeamCity task und PartCover.

Now i wish to fail the Build if the number of covered lines is below xx% of the absolute number of lines.

How can i acces the CodeCoverage Results in MSBUILD?

If this is not possible, i know that the PartCover results written in a tempfile, how can i get the path to this tempfile?

1 comment
Comment actions Permalink

Please feel free to create an issue in out tracker at


Please sign in to leave a comment.