diff --git a/build/targets/tests/Tests.targets b/build/targets/tests/Tests.targets index 5abe6870..49bc6c6e 100644 --- a/build/targets/tests/Tests.targets +++ b/build/targets/tests/Tests.targets @@ -3,14 +3,28 @@ trx%3bLogFileName=$(MSBuildProjectName).trx $(ArtifactsTestResultsPath)/$(TargetFramework) - <_TestCodeCoverageMergedReport>$(ArtifactsTestResultsPath)/report.cobertura.xml + + <_TestCoverageGlob>$(ArtifactsTestResultsPath)/**/*.cobertura.xml + <_TestCoverageReportDirectory>$(ArtifactsTestResultsPath)/coverage - + + + + + + <_CoverageFiles Include="$(_TestCoverageGlob)" /> + + + + <_CoverageFiles Remove="@(_CoverageFiles)" /> + + + + - <_CoverageFiles Include="$(ArtifactsTestResultsPath)/**/*.cobertura.xml" /> + <_CoverageFiles Include="$(_TestCoverageGlob)" /> - - +