Hello,
we have some problems with code coverage. Our Projet has an XUnit Test Project which will also run in the pipeline. The code coverage is recognized in the azure pipeline and reported there. But not on our SonarQube server. There is always 0.0%.

Pipeline based on the example in the SonarQube Docs: .NET test coverage (sonarsource.com) and lools like this:
steps:
- task: SonarQubePrepare@4
inputs:
SonarQube: '***'
scannerMode: 'MSBuild'
projectKey: '***'
projectName: '***'
extraProperties: |
sonar.cs.opencover.reportsPaths=$(Agent.TempDirectory)/**/coverage.cobertura.xml
- task: DotNetCoreCLI@2
displayName: 'Restore Packages'
inputs:
command: 'restore'
projects: '**/*.csproj'
feedsToUse: 'select'
vstsFeed: '***'
- task: DotNetCoreCLI@2
displayName: 'Build Project'
inputs:
projects: '**/*.csproj'
arguments: '--configuration $(buildConfiguration)'
- task: DotNetCoreCLI@2
inputs:
command: 'test'
arguments: '--collect:"XPlat Code Coverage"'
- task: SonarQubeAnalyze@4
- task: SonarQubePublish@4
inputs:
pollingTimeoutSec: '300'
Can anybode help us?
