Hey there.
You’re probably running up against some conflicting information about what reports are accepted.
In the UI we describe the following for sonar.cfamily.vscoveragexml.reportsPath
:
Pattern for search for Visual Studio Coverage XML reports. The pattern may be either absolute or relative to the project base directory. For example: “**/.coveragexml" will find all ".coveragexml” files in all sub-directories of current project.
And in the docs we say .coveragexml
files are forbidden.
C/C++/Objective-C
Analysis parameter Description sonar.cfamily.vscoveragexml.reportsPath
Path may be absolute or relative to the solution directory. Path wildcards (see above) are supported. Note that the .coveragexml
report format offered by Visual Studio is not supported.
This description makes my head spin as much as it probably does others.
You’ll need to take .coverage
files and convert them using CodeCoverage.exe
. See this guide here:
We need to make things more clear… somewhere. I’ll ping internally. Hopefully this gets you closer.