【发布时间】:2019-08-26 20:51:39
【问题描述】:
第 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 站点上不可用,因此我无法添加自己的密钥来对其进行强签名。
我处于 catch 22 的情况,因为我必须在 .Net 而不是 .Net Standard 中编译我的项目。
是否有可用的解决方案或解决方法?
【问题讨论】:
标签: c# paypal asp.net-core-2.0 braintree