nupkg-validator 0.11.5

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global nupkg-validator --version 0.11.5
                    
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 nupkg-validator --version 0.11.5
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=nupkg-validator&version=0.11.5
                    
nuke :add-package nupkg-validator --version 0.11.5
                    

nupkg-validator

A .NET tool that checks a NuGet package before you push it: every dll in it is built in Release, carries the version you expect and is strong-named with the public key token you expect.

dotnet tool install --global nupkg-validator
nupkg-validator validate build/output/MyLib.1.2.3.nupkg -v 1.2.3 -a MyLib -k 96c599bbe3e70f5d

It exits with 0 when every check passes, and with 1 and the reason on stderr when one fails.

Checks

Flag Check
(always) every dll is built in Release (optimizations not disabled); -r skips this
-v, --expected-version AssemblyFileVersion is M.N.P.0, AssemblyInformationalVersion is the version itself, AssemblyVersion is fixed to M.0.0.0 (-n expects the full version instead)
-k, --public-key the dll is strong-named with this public key token
--no-dependencies the package declares no dependencies

-a, --assembly-name checks only that dll; -d, --dlls-to-skip takes a comma-separated list to leave out. Without --no-fail-on-missing-dlls a package with no matching dll fails.

On Linux, Windows and macOS (arm64) the tool installs as a native-AOT binary; elsewhere it falls back to a framework-dependent build. It also runs as a container (ghcr.io/nullean/nupkg-validator) and as a GitHub Action: see https://github.com/nullean/nupkg-validator.

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.11.6 795 11/12/2026
0.11.5 625 11/11/2026
0.11.4 6,207 9/3/2026
0.10.1 19,354 11/12/2025
0.10.0 473 11/12/2025
0.7.0 6,160 2/27/2025
0.6.0 10,629 1/4/2024
0.5.0 27,133 1/25/2022
0.4.0 48,737 11/16/2020
0.3.1 3,685 5/25/2020
0.3.0 788 5/25/2020
0.2.4 861 5/15/2020
0.2.3 756 5/15/2020
0.2.2 836 5/12/2020
0.2.1 857 5/9/2020
0.2.0 791 5/8/2020