BraintreeHttp-Dotnet.dll |我需要强烈签署此程序集以在.Net 4.6.1项目中使用

问题描述 投票:0回答:1

版本2结帐PayPalCheckoutSdk取决于BraintreeHttp-Dotnet.dll。 PayPalCheckoutSdk已强烈签名,可在.Net 4.6.1中使用,但BraintreeHttp-Dotnet.dll没有强签名。这使得PayPalHttpClient在访问时抛出异常:

"Could not load file or assembly 'BraintreeHttp-Dotnet, Version=0.1.5.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)"

BraintreeHttp-DotNet.dll在他们的github网站上不可用,所以我无法添加自己的密钥来强烈签名。

因为我必须在.Net而不是.Net Standard中编译我的项目,所以我处于困境中。

是否有可用的解决方案 - 或解决方法?

c# paypal asp.net-core-2.0 braintree
1个回答
-1
投票

完全披露:我在Braintree工作。如果您有任何其他问题,请随时联系support

我们在版本2.54.0 of our .NET SDK中添加了强命名支持。我会确保你至少在这个版本,但强烈建议使用最新版本4.11.0

© www.soinside.com 2019 - 2024. All rights reserved.