Επεξεργασία

Κοινή χρήση μέσω


NuGet Warning NU3003

Scenario 1

Package 'SamplePackage v1.0.0' from source 'https://contoso.com/index.json': The package is not signed. Unable to verify signature from an unsigned package.

Issue

NuGet client tried to verify a package which does not contain a package signature.

Solution

Please file an issue at NuGet/Home along with the package that generated this problem.

Scenario 2

Package 'SamplePackage v1.0.0' from source 'https://contoso.com/index.json': The package signature is invalid or cannot be verified on this platform.

Issue

NuGet client tried to verify a package which contains an invalid package signature or a signature that connot be verified on the current platform.

Solution

Please file an issue at NuGet/Home along with the package that generated this problem and the platform on which the issue was encountered.

Note

When NuGet’s signature validation mode is set to accept (default), NU3003 is raised as a warning. When NuGet’s signature validation mode is set to require, or when running the nuget verify -signatures command, NU3003 is elevated from a warning to an error.