Roslynator.Refactorings 5.0.0

Prefix Reserved

Requires NuGet 2.8 or higher.

dotnet add package Roslynator.Refactorings --version 5.0.0
                    
NuGet\Install-Package Roslynator.Refactorings -Version 5.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Roslynator.Refactorings" Version="5.0.0">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Roslynator.Refactorings" Version="5.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Roslynator.Refactorings">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Roslynator.Refactorings --version 5.0.0
                    
#r "nuget: Roslynator.Refactorings, 5.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Roslynator.Refactorings@5.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Roslynator.Refactorings&version=5.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Roslynator.Refactorings&version=5.0.0
                    
Install as a Cake Tool

Roslynator.Refactorings

A collection of 200+ refactorings for C#, powered by Roslyn.

Use this package when Roslynator IDE extensions are unavailable, such as VS Code with C# Dev Kit. Otherwise, use the IDE extension instead.

Requirements

  • Visual Studio 2022 or 2026
  • VS Code with C# extension 1.21.13 or higher
  • Roslyn 3.8.0 or higher (when used directly, not as part of an IDE)

Usage

  • Add the package to your project:

    dotnet add package roslynator.refactorings
    
  • Use EditorConfig to configure refactorings.

Feedback

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Roslynator.Refactorings:

Package Downloads
Belp.Formatting

An unofficial bundle of formatting tools that strives for closeness to conventional C#.

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on Roslynator.Refactorings:

Repository Stars
microsoft/kernel-memory
Research project. A Memory solution for users, teams, and applications.
jeangatto/ASP.NET-Core-Clean-Architecture-CQRS-Event-Sourcing
ASP.NET Core, C#, CQRS Event Sourcing, REST API, DDD, SOLID Principles and Clean Architecture
MASSHUU12/godot-yat
YAT is an plugin that provides a customizable, in-game terminal for your Godot (C#) project.
Version Downloads Last Updated
5.0.0 4,688 8/21/2026
4.16.1 4,607 8/16/2026
4.16.0 15,208 8/8/2026
4.15.0 460,010 12/14/2025
4.14.1 111,062 10/5/2025
4.14.0 90,119 7/26/2025
4.13.1 469,879 2/23/2025
4.13.0 8,578 2/9/2025
4.12.11 19,249 1/28/2025
4.12.10 13,815 12/17/2024
4.12.9 13,641 10/25/2024
4.12.8 2,944 10/11/2024
4.12.7 4,520 10/1/2024
4.12.6 5,974 9/23/2024
4.12.5 4,581 9/13/2024
4.12.4 33,337 6/1/2024
4.12.3 7,289 5/10/2024
4.12.2 5,966 4/23/2024
4.12.1 4,188 4/15/2024
4.12.0 4,174 3/19/2024
Loading failed