Scanner for .NET 9.0.1

Hi there, dear .NET developers

We have just released version 9.0.1 of the Scanner for .NET.
This release fixes an issue when using the Scanner through the Azure DevOps extension on Linux-based agents when using version 3 of the SonarQubePrepare task.

The issue is linked to a faulty detection of the project base directory, and could materialize as all code being considered as New Code (and thus showing all issues in the PR decoration).

The extension itself will be updated to target this release of the scanner next week. In the meantime, if you are encountering this issue, you can manually target this release of the scanner using the msBuildersion task property:

- task: SonarQubePrepare@3
  inputs:
    scannerMode: 'dotnet'
    msBuildVersion: '9.0.1.102776'

Denis

2 Likes