Meziantou.Framework.NuGetPackageValidation.Tool
1.0.4
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global Meziantou.Framework.NuGetPackageValidation.Tool --version 1.0.4
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.4
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Meziantou.Framework.NuGetPackageValidation.Tool&version=1.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package Meziantou.Framework.NuGetPackageValidation.Tool --version 1.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 ensures the NuGet package follows good practices.
How to use it
Install the tool
dotnet tool update Meziantou.Framework.NuGetPackageValidation.Tool --global
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> Path to the NuGet package to validate
Options:
--rules <rules> Available rules: AssembliesMustBeOptimized, AuthorMustBeSet, DescriptionMustBeSet, IconMustBeSet, LicenseMustBeSet, PackageIdAvailableOnNuGetOrg, ProjectUrlMustBeSet, ReadmeMustBeSet, RepositoryMustBeSet, RepositoryBranchMustBeSet, Symbols, TagsMustBeSet, XmlDocumentationMustBePresent
--excluded-rules <excluded-rules> Available rules: AssembliesMustBeOptimized, AuthorMustBeSet, DescriptionMustBeSet, IconMustBeSet, LicenseMustBeSet, PackageIdAvailableOnNuGetOrg, ProjectUrlMustBeSet, ReadmeMustBeSet, RepositoryMustBeSet, RepositoryBranchMustBeSet, Symbols, TagsMustBeSet, XmlDocumentationMustBePresent
--excluded-rule-ids <excluded-rule-ids> List of rule ids to exclude
--version Show version information
-?, -h, --help Show help and usage information
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
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.17 | 1,456 | 11/17/2024 |
1.0.16 | 6,769 | 7/13/2024 |
1.0.15 | 1,613 | 6/15/2024 |
1.0.14 | 15,062 | 11/19/2023 |
1.0.13 | 334 | 11/15/2023 |
1.0.12 | 6,865 | 6/27/2023 |
1.0.11 | 145 | 6/27/2023 |
1.0.10 | 5,904 | 3/13/2023 |
1.0.9 | 812 | 2/11/2023 |
1.0.8 | 3,023 | 10/11/2022 |
1.0.7 | 423 | 10/9/2022 |
1.0.6 | 421 | 10/8/2022 |
1.0.5 | 389 | 10/7/2022 |
1.0.4 | 374 | 10/1/2022 |
1.0.3 | 474 | 9/24/2022 |
1.0.2 | 460 | 9/11/2022 |
1.0.1 | 410 | 9/8/2022 |
1.0.0 | 422 | 9/7/2022 |