.NET 6 support in SonarScanner for Azure DevOps

.NET 6 is releasing next week, when do you plan to add this version in the SonarScanner ?
.NET 6 will be a LTS version, I hope it can be added quickly as we need to cover this new version using your tool :slight_smile:

Thanks !

Hi Thibault, welcome to the community :slight_smile:

Yes, we are excited about .NET 6 and C#10 and have been working hard on supporting it. If you are using SonarCloud you should see support for analysing .NET 6 projects shortly (look out for an announcement in the next week or two). If you are using SonarQube you will need to upgrade to the upcoming 9.2 release. The Scanner itself may still require an earlier version of .NET to be installed to run, we are currently looking into this and may release a version that supports agents containing only .NET 6 in the future.

Although you we will be able to analyse .NET 6 projects, it will take us a bit longer to update all our rules (and add new rules) to correctly find issues in new language features, this is a continuous effort that will improve as we release new versions throughout the year :slight_smile:



Thanks for the quick reply.

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