NuGet 警告 NU3040

There are two certificates with conflicting allowUntrustedRoot attributes in the computed settings. The allowUntrustedRoot attribute is going to be set to false. Certificate: SHA256-3F9001EA83C560D712C24CF213C3D312CB3BFF51EE89435D3430BD06B5D0EECE

問題点

nuget.config の証明書項目に競合する属性があります。2 つの証明書項目は同じ fingerprinthashAlgorithm を共有しますが、allowUntrustedRoot が異なります。

解決策

NuGet は、これらの設定の中で最も制限の厳しい設定 (allowUntrustedRoot=false) を受け取ります。警告を削除するには、証明書項目を重複除去するか、両方で allowUntrustedRoot を同じ値に設定してください。