Chaos.RepoBaseline 0.2.0

dotnet tool install --global Chaos.RepoBaseline --version 0.2.0
                    
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 Chaos.RepoBaseline --version 0.2.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Chaos.RepoBaseline&version=0.2.0
                    
nuke :add-package Chaos.RepoBaseline --version 0.2.0
                    

Chaos.RepoBaseline

repo-baseline copies the shared files of repo-baseline into a repository and checks that they stay unchanged there: code style and formatter settings, agent instructions, helper scripts and common build properties. The repository pins a release of these files in .repo-baseline.json.

The tool needs the .NET 10 SDK or later, and Git only for --checkout.

Installation

The repository pins the tool in its tool manifest, dotnet-tools.json. A new repository has no tool manifest yet, so run init once with dnx; it creates the manifest with the tool:

dnx Chaos.RepoBaseline init <path> <version> --name <Name> …

An existing repository adds the tool to its manifest instead, creating the manifest first if it has none:

dotnet new tool-manifest
dotnet tool install Chaos.RepoBaseline

Then restore it locally and in CI:

dotnet tool restore

Commands

Command Description
dotnet repo-baseline init <path> <version> --name <Name> … Sets up a repository with the release <version>: the manifest, the synced files and the files created from templates.
dotnet repo-baseline sync <path> [<version>] Writes the synced files of the pinned release, or of <version>, which it then pins.
dotnet repo-baseline check <path> Lists every place where the repository differs from the pinned release. It exits with 1 when it has findings.

See the documentation for all options.

License

MIT

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.2.0 277 11/20/2026
0.1.0 55 11/20/2026