.NET 6 and C#10 support update

Hello,

So with SonarQube 9.2.4 and the latest sonar-scanner I should not be getting errors / warnings when using file scoped namespaces? (I think I do…)

Hi Jens

Welcome to the community :slight_smile:

Can you share an example of an issue that’s being raised on file scoped namespaces please?

Thanks

Tom

Turns out I was testing the wrong thing.
It just works now.
Sorry :confused:

2 Likes

Hi Tom,
any news pls?
Thanks!
J.

We have also the policy, that only LTS versions are installed. Thus unless a new LTS is released, we will not be able to get the new analyzer. BTW, this affects Java 17 as well.

Hi All

We’ve just released Scanner for .NET 5.5.3 which now supports .NET 6 MVC projects (that were previously causing issues). This is also now available on the Azure Devops extension for SonarQube and SonarCloud. The work on fully analyzing C# 10 features are ongoing and I’ll keep you updated as we release more improvements.

Let me know if you have any questions

Tom

2 Likes