Meziantou.Framework.NuGetPackageValidation.Tool 1.0.30

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

Meziantou.Framework.NuGetPackageValidation.Tool

Meziantou.Framework.NuGetPackageValidation.Tool is a tool to validate local nupkg file before pushing them to a server such as nuget.org. It helps you producing valuable the NuGet package. Best practices for NuGet packages are explained in this post.

How to use it

  1. Install the tool

    dotnet tool update Meziantou.Framework.NuGetPackageValidation.Tool --global
    
  2. Run the tool

    meziantou.validate-nuget-package "example.nupkg"
    

    If the package is not valid, the program exit with a non-zero value. All errors are written to the standard output in a JSON format.

You can show available options using:

meziantou.validate-nuget-package --help
Description:
  Validate a NuGet package

Usage:
  meziantou.validate-nuget-package <package-path>... [options]

Arguments:
  <package-path>  Paths to the NuGet packages to validate

Options:
  -?, -h, --help        Show help and usage information
  --version             Show version information
  --rules               Available rules: AssembliesMustBeOptimized, AuthorMustBeSet, DescriptionMustBeSet, IconMustBeSet, LicenseMustBeSet, PackageIdAvailableOnNuGetOrg, ProjectUrlMustBeSet, ReadmeMustBeSet, RepositoryMustBeSet, RepositoryBranchMustBeSet, Symbols, TagsMustBeSet, XmlDocumentationMustBePresent
  --excluded-rules      Available rules: AssembliesMustBeOptimized, AuthorMustBeSet, DescriptionMustBeSet, IconMustBeSet, LicenseMustBeSet, PackageIdAvailableOnNuGetOrg, ProjectUrlMustBeSet, ReadmeMustBeSet, RepositoryMustBeSet, RepositoryBranchMustBeSet, Symbols, TagsMustBeSet, XmlDocumentationMustBePresent
  --excluded-rule-ids   List of rule ids to exclude from analysis
  --github-token        GitHub token to authenticate requests
  --only-report-errors  Only report errors on the output
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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
1.0.31 442 9/16/2025
1.0.30 630 9/3/2025
1.0.29 710 8/21/2025
1.0.28 234 8/17/2025
1.0.27 233 8/14/2025
1.0.26 179 8/10/2025
1.0.25 656 7/20/2025
1.0.24 174 7/13/2025
1.0.23 662 6/22/2025
1.0.22 421 6/15/2025
1.0.21 875 5/18/2025
1.0.20 2,174 4/13/2025
1.0.19 1,679 3/16/2025
1.0.18 1,081 3/1/2025
1.0.17 6,222 11/17/2024
1.0.16 7,684 7/13/2024
1.0.15 1,703 6/15/2024
1.0.14 16,009 11/19/2023
1.0.13 354 11/15/2023
1.0.12 6,978 6/27/2023
1.0.11 208 6/27/2023
1.0.10 37,525 3/13/2023
1.0.9 880 2/11/2023
1.0.8 44,098 10/11/2022
1.0.7 493 10/9/2022
1.0.6 492 10/8/2022
1.0.5 468 10/7/2022
1.0.4 444 10/1/2022
1.0.3 556 9/24/2022
1.0.2 536 9/11/2022
1.0.1 487 9/8/2022
1.0.0 492 9/7/2022