Run code analysis, not working for .net core


(Shyam V) #1

Getting the following error, please advise.

Using the .NET Framework version of the Scanner for MSBuild
2018-06-15T20:26:07.4304620Z Default properties file was found at E:\AgentFMS_work_tasks\SonarQubePrepare_15b84ca1-b62f-4a2a-a403-89b77a063157\4.3.0\classic-sonar-scanner-msbuild\SonarQube.Analysis.xml
2018-06-15T20:26:07.4305208Z Loading analysis properties from E:\AgentFMS_work_tasks\SonarQubePrepare_15b84ca1-b62f-4a2a-a403-89b77a063157\4.3.0\classic-sonar-scanner-msbuild\SonarQube.Analysis.xml
2018-06-15T20:26:07.4308057Z Post-processing started.
2018-06-15T20:26:07.5594224Z 20:26:07.546 20:26:07.546 WARNING: Failed to find the code coverage command line tool. Possible cause: Visual Studio is not installed, or the installed version does not support code coverage.


(Ankita) #2

Have you referenced Coverlet in your unit test project?