Skip to main content
Total Downloads
144.9K
144,947
Published
Nov 15, 2026
8d ago

Get Started

dotnet add package assembly-differ --version 1.2.0

No framework information available.

README

assembly-differ

nullean

A .NET tool that diffs the public API of two versions of your assemblies, from disk, NuGet or a git commit, and suggests the version change the difference needs.

NuGet

Install

dotnet tool install --global assembly-differ

On Linux (x64, arm64), Windows (x64, arm64) and macOS (arm64) this installs a native-AOT executable from the assembly-differ.<rid> package; everywhere else it falls back to the framework-dependent assembly-differ.any. Install the assembly-differ package itself, not those.

Quick start

In a repository, build it, then run the tool without a command to compare every library project with its latest release:

dotnet build -c Release && assembly-differ

Compare the package you just packed with its last release on nuget.org, and fail on a breaking change:

assembly-differ release build/output/MyLib.1.3.0.nupkg --fail-on major

assembly-differ nuget Proc 0.13.0 0.14.0 -f xml, a diff of two versions where 0.14.0 replaced the Start* overloads, ends with:

      <Method Name="Start(StartArguments, CancellationToken)" DiffType="New" />
      <Method Name="Start(StartArguments)" DiffType="Deleted" />
...
[diff] Suggested version change: Major
Command Compares
release <path> a .nupkg, .dll or directory with the release before it on your NuGet.config feeds; a first release succeeds
files <old> <new> two local builds: .dlls, directories or .nupkgs
nuget <id> [<version>] [<new-version>] in a solution, what updating a package would change; anywhere, two published versions
projects every library project in the directory against its latest release; what runs without a command
Option What
-t, --target only compare these assemblies (repeatable); defaults to every assembly both sides have
-f, --format markdown (default), xml, asciidoc, github-comment or json
-o, --output a directory or file to write the report to, besides the console
--fail-on exit with 4 when the suggested change is at least patch, minor or major

diff with provider specs, such as "nuget|Proc|0.13.0", still works as before for the builds that call it.

Coding agents can use it instead of decompiling assemblies: in a solution, assembly-differ nuget X 2.0.0 shows what updating X would break in the code it builds. The assembly-differ.skills package carries an agent skill for it.

It also runs as a GitHub Action (uses: nullean/assembly-differ@v1), which comments on and labels pull requests, and as a container (ghcr.io/nullean/assembly-differ) that needs no .NET SDK.

Learn more

Downloads by Version

Similar & Alternative Packages

Hand-picked matching NuGet libraries based on tags & ecosystem

Depended On By

Find packages that declare this package as a dependency. NuGet does not provide a reverse-dependency endpoint, so candidates are checked on demand.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.