Azure Devops Pipeline with DotNet framework version 4.8 - code coverage is shown as 0.0% SonarQube

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    SonarQube version 9.8
  • how is SonarQube deployed: zip, Docker, Helm
    deployed using zip

Executing the pipeline from Azure Devops Pipeline with DotNet framework version 4.8.

  • The Code coverage is enabled
  • The task “Visual studio test assemblies” gets “Unsupported Target Framework:.NETPortable,Version=v4.5,Profile=Profile259”
  • [Azure devops job and tasks added Argument “a” ]
  • SonarQube code coverage shows 0.0% code coverage result at sonarqube

Tried the Sonarqube documentation on Azuredevops Dotnet Framework

verified the dotnet versions installed “dotnet sdk check”

Hey there.

It looks like you’re issue is with generating test coverage, not SonarQube consuming it (SonarQube only reads the reports)