When running code analysis in Azure DevOps we receive the following error when ran on Microsoft-hosted agents:
##[error]Execution failed. The specified executable does not exist: C:\hostedtoolcache\windows\VsTest\16.8.0\x64
Failed to convert the downloaded code coverage tool to XML. No code coverage information will be uploaded to SonarQube.
Execution failed. The specified executable does not exist: C:\hostedtoolcache\windows\VsTest\16.8.0\x64
Failed to convert the downloaded code coverage tool to XML. No code coverage information will be uploaded to SonarQube.
Version information:
Task: Run Code Analysis
Version: 1.18.0
The effect is that we don’t have code coverage results in SonarCloud. Everything else seems to work perfectly.
It seems that in version 1.17.0 this has worked fine when checking previous runs. Broken since last friday ~9.00 AM CET.