Skip to main content
Any Framework

Diff assemblies and nuget packages

Published
Nov 12, 2026
11d ago
Total Downloads
144.9K
144,947

Install

dotnet add package assembly-differ --version 0.18.2

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

Diff the last release on nuget.org against what you just built, and fail on a breaking change:

assembly-differ diff "previous-nuget|MyLib|1.3.0|net8.0" "directory|src/MyLib/bin/Release/net8.0" -t MyLib -f markdown -p major

A diff of Proc 0.13.0 against 0.14.0, which replaced its Start* overloads, ends with:

      <Method Name="Start(StartArguments, CancellationToken)" DiffType="New" />
      <Method Name="Start(StartArguments)" DiffType="Deleted" />
...
[diff] Suggested version change: Major
Spec Assemblies
assembly|<path> one dll
directory|<path> every dll in a directory, matched by file name
nuget|<id>|<version>|[tfm] a package from the NuGet sources your NuGet.config lists
previous-nuget|<id>|<version>|[tfm] the release on nuget.org before <version>
github|<owner/repo>|<commit>|<build command>|<relative output path> a commit, cloned and built
Flag What
-t, --target only diff these assemblies (repeatable); defaults to every assembly both sides have
-f, --format xml (default), markdown, asciidoc or github-comment
-o, --output output directory or file; without it the diff only goes to the console
-p, --prevent-change exit with 4 when the suggested change is at least patch, minor or major
-a, --allow-empty-previous-nuget succeed when previous-nuget finds no earlier release (a first release)

It also runs as a GitHub Action (uses: nullean/assembly-differ@main) and as a container (ghcr.io/nullean/assembly-differ), both without a .NET SDK.

Learn more

Changes from Previous Version

No structural changes between v0.18.1 and v0.18.2.

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.