Generic Report Execution with CSharp TRX Files

We are currently using SonarQube DE 7.91.

Using Azure DevOps build pipeline we have the following Sonar config

- task: SonarSource.sonarqube.15B84CA1-B62F-4A2A-A403-89B77A063157.SonarQubePrepare@4
  displayName: 'Prepare analysis on SonarQube'
  condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))
    SonarQube: 'SonarQube'
    projectKey: ''
    projectName: ''
    projectVersion: '$(Build.BuildNumber)'
    extraProperties: |$(SONARBRANCHNAME)     

When we enable the testExecutionReportPaths to the generic reports produced by our karma tests then we loose all the C# test executions, howevever the karma tests are included.

When i remove the testExecutionReportPaths configuration the CSharp test executions are then enabled, however we loose the karma test executions.


Are you using the Scanner for MSBuild ?




We are using the SonarQube plugin for Azure DevOps which I believe is using the MSBuild scanner.

Can we please get a response to this?

This problem still persists.
Using SonarScanner .NET via dotnet sonarscanner.

I add generic test execution files via sonar.testExecutionReportPaths, then I see the JS results but the C# results added via sonar.cs.vstest.reportsPaths are missing.
If I remove the sonar.testExecutionReportPaths the C# results are reported.

Sonar: 9.3 (build 51899)
dotnet-sonarscanner: 5.5.1