SonarScanner for .NET 9.0.2

Hi there, dear .NET developers!

We released version 9.0.2 of the Scanner for .NET.
This version fixes two issues:

  • a bug where setting sonar.projectBaseDir on Azure DevOps through the Azure DevOps extension’s extraProperties was not respected
  • a bug where the scanner failed during indexing when a directory could not be accessed.

Please note that, to fix the first bug we fixed an issue where sonar.projectBaseDir was only respected when supplied on the command line (so not through server UI or SonarQube.Analysis.xml).
This means that if you had sonar.projectBaseDir set in your SonarQube.Analysis.xml file, it never actually worked and it will start working with this version. This could lead to changes in behavior on your pipelines. We are sorry for the inconvenience, but this was definitely a bug and not an intended feature.

Please let us know if you experience problematic behavior with this version!

Denis

2 Likes