Unable to install or update NuGet package in Visual Studio 2022 #5334
Labels
Area: C#
C# rules related issues.
Area: VB.NET
VB.NET rules related issues.
Type: Bug
Exceptions and blocking issues during analysis.
Milestone
Trying to install or update the SonarAnalyzer.VisualBasic NuGet package fails in Visual Studio 2022. The error message displayed is "This package can only be installed on Visual Studio 2015 Update 3 or later." I assume the same error would occur for the SonarAnalyzer.CSharp package.
I can update the package by directly editing the "packages.config" file.
The problem seems to be these lines in install.ps1:
Visual Studio 2022 is version 17!
The text was updated successfully, but these errors were encountered: