DressSharp.win-x64 0.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package DressSharp.win-x64 --version 0.1.0
                    
NuGet\Install-Package DressSharp.win-x64 -Version 0.1.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="DressSharp.win-x64" Version="0.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DressSharp.win-x64" Version="0.1.0" />
                    
Directory.Packages.props
<PackageReference Include="DressSharp.win-x64" />
                    
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 DressSharp.win-x64 --version 0.1.0
                    
#r "nuget: DressSharp.win-x64, 0.1.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 DressSharp.win-x64@0.1.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=DressSharp.win-x64&version=0.1.0
                    
Install as a Cake Addin
#tool nuget:?package=DressSharp.win-x64&version=0.1.0
                    
Install as a Cake Tool

DressSharp

DressSharp is a syntax-only, explicitly configured C# formatter distributed as one .NET tool package.

Install

dotnet tool install --global DressSharp
dotnet dress --version

For a repository-pinned install:

dotnet new tool-manifest
dotnet tool install DressSharp

Hooks

--staged and --changed select only the files Git reports as changed, so a hook formats what was touched instead of the repository. A pre-commit hook is one line; format --staged stages what it rewrites:

dotnet dress format --staged

For a hook that runs after an editor or agent writes, format everything changed since the last commit:

dotnet dress format --changed

Both require a repository-pinned or global install of the current version. This repository's .claude/settings.json and .codex/hooks.json run the second form from Claude Code and Codex after dotnet tool restore.

Development

Build, test, and format DressSharp from the current checkout:

./do test
./do format-self

To test the packed local tool:

dotnet tool restore
./do install-local
dotnet tool run dotnet-dress -- --version

The package installs one command: dotnet dress.

Releasing

./do prepare-release moves the Unreleased notes in CHANGELOG.md under the next version, chosen from their headings, and sets the package version to match. Review and commit the result, then tag it v<version> and push the tag. The Release workflow packs every platform package, publishes them to NuGet with trusted publishing, and creates the GitHub release from the changelog notes.

See Getting started, the command line reference and the compatibility policy.

Documentation site

./do build-docs builds the static site into dist/site with Astro Starlight under Bun. The site in site/ holds the hand-written pages; scripts/build-docs.cs adds a reference for every preference in the built-in rule catalog before each build. Each rule's example is formatted by the real formatter under every accepted value, so the reference cannot drift from the code. After one ./do build-docs, bun run site:dev serves the site with live reload. The Docs workflow publishes the same output to GitHub Pages on every push to master; enable Pages with the "GitHub Actions" source once in the repository settings.

Repository layout

Path Holds
DressSharp/ The formatter and dotnet dress tool
DressSharp.Interactive/ The browser app dotnet dress interactive embeds, with its Playwright checks in e2e/
site/ The Starlight documentation site
tests/ The .NET test projects
scripts/ ./do tasks; docs/ and corpus/ hold the files the tasks include
assets/ Logo and favicons
docs/ Design notes and architecture decision records
benchmarks/ The benchmark protocol, result schema, and pinned corpus definition; the materialized corpus and results are gitignored
dist/ Build outputs, gitignored; every directory is rebuilt by a ./do task
scratch/ Experiments, traces, logs, and screenshots, gitignored

The root package.json is a Bun workspace over DressSharp.Interactive and site, so bun install and bun run work from the root as ./do does.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.3.0 78 10/6/2026
0.2.1 87 10/1/2026
0.2.0 86 9/30/2026
0.1.0 87 9/28/2026