Scanner for .NET version 6 release

Hello .NET developers,

This week, we released version 6 of the Scanner for .NET.

We used the opportunity to clean up our packaging, and the scanner now simply comes in two flavors, depending on the runtime available to you on your build machine:

  • Scanner for .NET (runs under .NET Core 3.1 and .NET 5 and up)

  • Scanner for .NET Framework (runs under .NET Framework 4.6.2 and up)

It is available as a .NET tool, or as a normal command line tool as usual. Updates to the Azure DevOps extensions will follow early next year.

This version will only work with SonarQube version 8.9 and up, and of course SonarCloud.

Please note that we dropped support for the following runtime environments:

  • .NET Core 2.1
  • .NET Core 3.0
  • .NET Framework 4.6
  • .NET Framework 4.6.1
  • Java 11 (you will need at least Java 17 to run an analysis)

Remember that these are runtime requirements on your build machine. For example, you can still analyze .NET code targeting framework 4.6 if you need to, but you will need .NET Framework 4.6.2 to run the scanner.

You can find out more in the release notes.

Do not hesitate to comment here if you have questions!

Denis