SonarCloud how to set Code Coverage

Hello everybody, thank for your help, here my problem :
I’m trying to enable sonarCloud Code Coverage in a Azure DevOps pipeline
The pipeline run on agent with distant machine pool. Everythink work well except code coverage.
i have added package coverlet.msbuild, OpenCover and CodeCoverage to my test project and i use the command :

steps:
- task: DotNetCoreCLI@2
  displayName: Test
  inputs:
    command: test
    projects: '$(Parameters.projects)'
    arguments: '--configuration $(BuildConfiguration) --logger trx /p:CollectCoverage=true /p:CoverletOutputFormat=opencover'
    publishTestResults: false
  continueOnError: true

i follow the right order step asked by sonarCloud.

Here is my extra properties in the task “Prepare analysis on SonarCloud”

extraProperties: |
     sonar.cs.opencover.reportsPaths=$(Build.SourcesDirectory)/**/*.opencover.xml
     sonar.cs.vstest.reportsPaths=$(Agent.TempDirectory)/*.trx

ok now in the log of my task “run Code Analysis”
its what i have important i guess
Calling the TFS Processor executable…

Attempting to locate the CodeCoverage.exe tool...
Attempting to locate the CodeCoverage.exe tool using setup configuration...
Visual Studio setup configuration was not found.
Attempting to locate the CodeCoverage.exe tool using registry...
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.
The TFS Processor has finished
Calling the SonarScanner CLI..

and also

INFO: Sensor C# Tests Coverage Report Import [csharp]
WARN: Could not find any coverage report file matching the pattern 'C:\agent\_work\16\s/**/*.opencover.xml'. Troubleshooting guide: https://community.sonarsource.com/t/37151
INFO: Sensor C# Tests Coverage Report Import [csharp] (done) | time=2130ms

So my question is, i have to install CodeCoverage in the machine ? yes but how ?
If no, plz can u tell me what i didnt understand and what is wrong

Thank u for your help

Hi @youssef.bou , welcome to the community.

Where did you put your Dotnet test step ? Is it well between Prepare Analysis on SonarCloud and Run Code Analysis ?

Thanks.
Mickaël