Skip to content
New issue

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

CodeCoverage.exe is deprecated, look for alternatives #1652

Closed
csaba-sagi-sonarsource opened this issue Aug 11, 2023 · 2 comments
Closed

CodeCoverage.exe is deprecated, look for alternatives #1652

csaba-sagi-sonarsource opened this issue Aug 11, 2023 · 2 comments
Assignees
Milestone

Comments

@csaba-sagi-sonarsource
Copy link
Contributor

csaba-sagi-sonarsource commented Aug 11, 2023

CodeCoverage.exe is deprecated, Microsoft suggests using the dotnet-coverage global tool or the Microsoft.CodeCoverage.Console instead.

We should change the logic that looks for the CodeCoverage.exe to first look if one of these two tools is available and if yes, use those to convert the coverage report.

MMF: https://sonarsource.atlassian.net/browse/MMF-3411

@milbrandt
Copy link

It would be even better, if the SonarScanner would install dotnet-coverage as local tool for its own use, if it is not available as global tool.
On (hosted) build agents you cannot rely what is already preinstalled (and that may change over time) and to add dotnet-coverage in each repo will also not always be done.

@costin-zaharia-sonarsource costin-zaharia-sonarsource removed this from the 5.15.0 milestone Nov 14, 2023
@antonioaversa antonioaversa added this to the 6.0.0 milestone Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants