SonarScanner support for .NET 6

Hi everyone,

Currently using self-hosted SonarQube 9.0.0, with sonarscanner 5.3.2 (running in our GitLab CI pipelines)

Our Team is switching from .NET 5 to .NET 6. However, to me it looks like sonarscanner does not support yet .NET version 6 (according to SonarScanner for .NET | SonarQube Docs and mentioned on Does Sonar Scanner support .Net 6? ). Is there a roadmap when scanning .NET 6 apps will be supported?

Thank you in advance!

Kind regards,

1 Like

Hi Paula, welcome to the community

A new version of the Scanner that supports .NET 6 environments will be available very shortly, if you can’t wait the existing Scanner will run now as long as an early version of .NET is available on the agent. In Sonarqube 9.0 the analysis of C#10 may raise errors, to fix this upgrade to the newly released SonarQube 9.2. Future versions of SonarQube will continue to improve the C#10 analysis, so it’s best to keep upgrading if you can. There is a roadmap available that I will keep updated here.

Hope that helps



Hi Paula

The new version of the Scanner is now available - .NET 6 and C#10 support update - #14 by Tom_Howlett




Hi Tom!

Awesome, thank you! :slight_smile:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.