Must-share information (formatted with Markdown):
- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension): 8.1 Enterprise
- what are you trying to achieve: Report OpenCover report for a solution with mixed VB.NET and C# project
- what have you tried so far to achieve this: Passing OpenCover report to
We have .NET solutions with mixed languages (some projects in VB.NET, some in C#). We have coverage results for test runs of these solutions available in OpenCover format. Coverage files are not on a project level, but only available for the whole solution.
Sonar Scanner has different parameters for passing coverage files for C# and VB.NET (
sonar.vbnet.opencover.reportsPaths). If a soluiton is either VB.NET or fully C#, coverage reporting works fine by passing files to the appropriate parameters. How are we supposed to pass coverage files if a solution contains projects in different languages? Passing coverage files to both parameters seems to lead to an error in the scanner.