We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reported by https://community.sonarsource.com/t/75717
If https://github.com/microsoft/azure-pipelines-tasks/tree/master/Tasks/VsTestPlatformToolInstallerV1 is used to install CodeCoverage.exe the VsTestToolsInstallerInstalledToolLocation environment variable is pointing to a directory containing all the test tools. We use this as a base path to find CodeCoverage.exe. We look at this position:
CodeCoverage.exe
VsTestToolsInstallerInstalledToolLocation
sonar-scanner-msbuild/src/SonarScanner.MSBuild.TFS.Classic/BinaryToXmlCoverageReportConverter.cs
Line 52 in 85b844f
According to https://community.sonarsource.com/t/75717/5 the path can also be @"\tools\net462\Team Tools\Dynamic Code Coverage Tools\CodeCoverage.exe".
@"\tools\net462\Team Tools\Dynamic Code Coverage Tools\CodeCoverage.exe"
We need to do the lookup in that location too.
Background: Packages are installed via https://www.nuget.org/packages/Microsoft.TestPlatform In version bump 17.3.2 -> 17.4.0 the path of the coverage tool changed.
The text was updated successfully, but these errors were encountered:
martin-strecker-sonarsource
Successfully merging a pull request may close this issue.
Reported by https://community.sonarsource.com/t/75717
If https://github.com/microsoft/azure-pipelines-tasks/tree/master/Tasks/VsTestPlatformToolInstallerV1 is used to install
CodeCoverage.exe
theVsTestToolsInstallerInstalledToolLocation
environment variable is pointing to a directory containing all the test tools. We use this as a base path to findCodeCoverage.exe
. We look at this position:sonar-scanner-msbuild/src/SonarScanner.MSBuild.TFS.Classic/BinaryToXmlCoverageReportConverter.cs
Line 52 in 85b844f
According to https://community.sonarsource.com/t/75717/5 the path can also be
@"\tools\net462\Team Tools\Dynamic Code Coverage Tools\CodeCoverage.exe"
.We need to do the lookup in that location too.
Background:
Packages are installed via https://www.nuget.org/packages/Microsoft.TestPlatform In version bump 17.3.2 -> 17.4.0 the path of the coverage tool changed.
The text was updated successfully, but these errors were encountered: