SonarAnalyzer.CSharp package fails to update in Visual Studio 2026

Upgrading SonarAnalyzer.CSharp nuget package to 10.18.0.131500 failed with this message:

This package can only be installed on Visual Studio 2015 Update 3 or later.

But i’m using Visual Studio 2026!

Version 18.0 is missing in the install.ps1

if (‘14.0’, ‘15.0’, ‘16.0’, ‘17.0’ -notcontains $project.DTE.Version) {
$invalidVsVersion = $true
}

1 Like

Hi @Valentijn,

Thank you for reporting this! We will fix this in the next release of the analyzer.

Internal ticket number NET-1866 (not accessible from outside)

The fix has been released and published to NuGet.

2 Likes