Skip to main content

IDE Extensions

Starting with Roslynator 5.0, analyzers are no longer bundled in IDE extensions. Use Roslynator NuGet packages for diagnostics in the editor and dotnet build.

Visual Studio​

  • Extension: Roslynator 2026
  • Installs on Visual Studio 2022 17.14+ and Visual Studio 2026 (API [17.14,))
  • Included: refactorings and compiler diagnostic code fixes
  • Not included: analyzers (use Roslynator.Analyzers NuGet package)

Roslynator 2022 remains available as the last 4.x release.

Visual Studio Code​

  • Extension: Roslynator / Open VSX
  • Included: refactorings and compiler diagnostic code fixes
  • Not included: analyzers (use NuGet packages)

Prerequisites​

This extension requires legacy OmniSharp (not C# Dev Kit):

  • Set VS Code setting dotnet.server.useOmnisharp to true
  • Disable extension C# Dev Kit (if installed)
  • Use a recent C# extension with OmniSharp 1.39.15+ (Roslyn 5.x)

C# Dev Kit does not support loading Roslyn features from an extension. As an alternative, use NuGet packages for refactorings and compiler diagnostic code fixes.

NuGet Packages​

Analyzers​

Add a package reference to your project:

Analyzer packages ship multiple Roslyn flavors: roslyn3.8, roslyn4.7, and roslyn5.0. The build selects the appropriate flavor automatically.

Refactorings and Code Fixes​

Optional NuGet packages when you need Roslyn features without an IDE extension:

Further Reading​