[Coverage missing for .net project]On Sonarqube Coverage is not showing (.NET framework 4.5)

8.0.1 (Used SonarQube Community version )

What is the minimum version of sonarqube required to import of .net code coverage results using the parameters in the begin command - /d:sonar.cs.vstest.reportsPaths or /d:sonar.cs.vscoveragexml.reportsPaths?

What is difference between these two parameters , which one relevant and sample commands?

Are the steps below correct?

SonarScanner.MSBuild.exe begin /k:"Test1" /d:sonar.cs.vstest.reportsPaths="C:\TestResults\test.coverage"
build command
C:\Program Files (x86)\Microsoft VisualStudio\2019\Enterprise\Common7\IDE\Extensions\TestPlatform>vstest.console.exe /EnableCodeCoverage"C:\Sonar\DemoProject\DemoProjectTest\bin\Debug\DemoProjectTest.dll" - Test command
SonarScanner.MSBuild.exe end command

Hi @jaganmohan,

vstest is path for importing test result statistics into SonarQube. It’s not related to coverage.
vscoveragexml is path for importing test coverage into SonarQube.
Both parameters should be available in SonarQube 8.0

Your commands and their order seems valid, as long as the directories exists and the coverage report is there. I don’t see where you set C:\TestResults\test.coverage in your test command.