.Net 6 support for scan on SonarQube Ent 9.9 LTS

Is it possible to do scan for .Net 6.0 with SonarQube Enterprise 9.9 LTS version.

Before writing I check online and identitifed that the version for dotnet-sonarscnner

  1. NuGet Gallery | dotnet-sonarscanner 5.13.0
  2. SonarScanner for .NET

In both of the above URL, the version for .Net is 5.0 and not 6.0

Hey there.

The scanner is compatible with .NET 5.0 and higher, and noted by the .NET 5 + marking on the SonarScanner for .NET documentation, and this not on the nuget package.

Screenshot 2023-06-20 at 10.25.57

Thanks Colin for responding to my query, but I need a little more clarifications/details

Is it .Net 5+ mean Major Version 5 and Minor Version 1, 2, 3, etc,

usually, if it supported 6 then it should have mentioned 6+

Or can you tell me in any configuration file where I can specifically mention .Net 6 to be utilized for scanning

It’s .NET 5+ including major versions above .NET 5, like .NET 6.

Hi,

I want to start working with SonqQube, as on Prime version 9.0 or 10.0 it is computable to work with. Net 6?
It’s very important for me to start with this tool.

can you tell me in any configuration file where I can specifically mention .Net 6 to be utilized for scanning?

SonarQube v9.9 LTS is the minimum supported version of SonarQube. This supports analyzing .NET 6 code. There’s nothing special that needs to be configured – just running the scanner with a .NET 6 SDK installed will work.

Hi, thanks for your reply.

What a bout MSBUILD version ?

Thanks.

The Sonar Scanner for .NET requires your project to be built with MSBuild 14.0 or higher.