NuGet 警告 NU3002

Package 'SamplePackage v1.0.0' from source 'https://contoso.com/index.json': The '-Timestamper' option was not provided. The signed package will not be timestamped. To learn more about this option, please visit https://docs.nuget.org/docs/reference/command-line-reference.

問題

此選項 -Timestamper 未提供給 NuGet Sign 命令。

解決方案

若要在簽章憑證過期之後啟用長期簽章有效性,請確定封裝簽章已時間戳。