NuGet 警告 NU3027

Package 'SamplePackage v1.0.0' from source 'https://contoso.com/index.json': The signature should be timestamped to enable long-term signature validity after the certificate has expired.

问题

包签名不含时间戳。

解决方案

要实现长期签名有效性,请求包作者使用 NuGet 文档所述的 nuget sign 命令以及 -Timestamper 选项重新对包进行签名。