C# Exception Code Coverage in Azure DevOps

hi @alext and welcome to this community!

would it be possible to come up with a minimal reproducible project and send it, together with the code coverage file for it, so we can reproduce it locally and investigate the problem?

Also, please let us know more details about the environment:

  • What visual studio coverage tool version are you using?
  • what is the version of Scanner for MSBuild you are using?
  • what is the version of MSBuild you are using?

I imagine you also pass the sonar.cs.vscoveragexml.reportsPaths property to the command? See [Coverage & Test Data] Generate Reports for C#, VB.net .