I am using sonar cloud analysis for the .net framework(version 4.7.2) solution in the azure devops pipeline. code is getting analyzed and publishing results properly but code coverage shows always 0%.
For the .net core solution, Dotnet test task help generate coverage report and sonar publishes them.
I have tried VsTest & Dotnet test tasks for framework solutions but no luck. Please let me know if there is any solution available for this.
It looks like your issue is more with the VSTest task (which indicates no test results are being published), rather than with SonarCloud analysis. I would suggest making sure your report is generated correctly, and then worry about getting it into SonarCloud.