DressSharp 0.2.1

dotnet tool install --global DressSharp --version 0.2.1
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local DressSharp --version 0.2.1
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=DressSharp&version=0.2.1
                    
nuke :add-package DressSharp --version 0.2.1
                    

DressSharp

DressSharp is an unopinionated C# formatter. It formats your code to the rules you choose in EditorConfig, and nothing else: every rule is yours to set, and any rule you leave unset leaves that part of your code alone. With no preferences set, it leaves every file as it found it.

Read the documentation

Install

DressSharp is a .NET tool and needs the .NET 10 SDK. Install it into your repository so everyone on the team, and your CI, runs the same version:

dotnet new tool-manifest
dotnet tool install DressSharp

Skip the first command if your repository already has a .config/dotnet-tools.json. Commit that file. Anyone who clones the repository then runs dotnet tool restore once to get the tool.

To use DressSharp everywhere on your machine instead, install it globally:

dotnet tool install --global DressSharp

Get started

Add every rule DressSharp supports to .editorconfig, each set to its default:

dotnet dress init

Try the rules on against your own code, with a live preview in the browser:

dotnet dress interactive

See which files don't match your rules, without changing anything:

dotnet dress check

Then format every C# file in the current directory and below:

dotnet dress

Learn more

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.2.1 0 10/1/2026
0.2.0 41 9/30/2026
0.1.0 55 9/28/2026