nupkg-validator.linux-x64 0.11.6

dotnet add package nupkg-validator.linux-x64 --version 0.11.6
                    
NuGet\Install-Package nupkg-validator.linux-x64 -Version 0.11.6
                    
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="nupkg-validator.linux-x64" Version="0.11.6" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="nupkg-validator.linux-x64" Version="0.11.6" />
                    
Directory.Packages.props
<PackageReference Include="nupkg-validator.linux-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 nupkg-validator.linux-x64 --version 0.11.6
                    
#r "nuget: nupkg-validator.linux-x64, 0.11.6"
                    
#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 nupkg-validator.linux-x64@0.11.6
                    
#: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=nupkg-validator.linux-x64&version=0.11.6
                    
Install as a Cake Addin
#tool nuget:?package=nupkg-validator.linux-x64&version=0.11.6
                    
Install as a Cake Tool

nupkg-validator

nullean

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 key you expect.

NuGet

Install

dotnet tool install --global nupkg-validator

On Linux (x64, arm64), Windows (x64, arm64) and macOS (arm64) this installs a native-AOT executable from the nupkg-validator.<rid> package; everywhere else it falls back to the framework-dependent nupkg-validator.any. Install the nupkg-validator package itself, not those. Installing needs the .NET 10 SDK or later.

Quick start

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:

$ nupkg-validator validate nupkg-validator.any.0.11.5.nupkg -a nupkg-validator -v 0.12.0
...
[version] tools/net8.0/any/nupkg-validator.dll AssemblyFileVersion expected 0.12.0.0, actual: 0.11.5.0
Flag Check
(always) every dll is built in Release; -r, --skip-release-mode skips this
-v, --expected-version AssemblyVersion is fixed to Major.0.0.0 (-n expects the full version instead), AssemblyFileVersion is Major.Minor.Patch.0, and AssemblyInformationalVersion is exactly the version given
-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. The informational version is compared exactly, so a build that appends the commit needs the full 1.2.3+<sha>.

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

Learn more

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.11.6 455 11/12/2026
0.11.5 478 11/11/2026
0.11.4 5,224 9/3/2026