NuGet 警告 NU3019

方案 1

Package 'SamplePackage v1.0.0' from source 'https://contoso.com/index.json': The timestamp integrity check failed.

问题

包签名上的时间戳自时间戳颁发机构将其生成后却已更改。

解决方案

请尝试对包重新签名并添加时间戳。 如果问题仍然存在,请联系时间戳机构以探明问题来源。

方案 2

Package 'SamplePackage v1.0.0' from source 'https://contoso.com/index.json': The primary signature's timestamp integrity check failed.

问题

包签名上的时间戳自时间戳颁发机构将其生成后却已更改。

解决方案

请求包作者使用 NuGet 文档中所述的 nuget sign 命令重新对包进行签名。如果问题仍然存在,则请求包作者联系时间戳颁发机构以探明问题来源。

注意

运行 nuget verify -signatures 命令时,NU3019 将显示为错误。 否则,NU3019 将显示为警告。