无法加载文件或程序集 "Braintree" 或其依赖项之一
Could not load file or assembly "Braintree" or one of its dependencies
所以 Braintree Sandbox 现在只使用 TLS 1.2,很像 中的 hasnayn,在 运行 进入问题后,意识到我需要最新的 Braintree SDK。
所以我已经下载了 DLL(文件版本 3.0.0.0,产品版本 3.3.0),将我的项目更新为 .NET 4.5.2,从我的生产 DLL 项目中删除了以前的 DLL,并添加了新的一个,但现在 我在尝试调用任何 Braintree 函数时遇到此错误:
Could not load file or assembly 'Braintree, Version=3.0.0.0,
Culture=neutral, PublicKeyToken=31b586f34d3e96c7' or one of its
dependencies. The system cannot find the file specified.
我在互联网上搜索了几天,甚至尝试了其他 DLL 版本,我得到了相同的结果,但没有任何关于问题的提示。
如有任何帮助,我将不胜感激。
谢谢!
尝试将 braintree dll 重命名为 Braintree.dll。如果文件名为 Braintree-net452.dll,由于某些原因它不会复制到 bin 文件夹。
所以 Braintree Sandbox 现在只使用 TLS 1.2,很像
所以我已经下载了 DLL(文件版本 3.0.0.0,产品版本 3.3.0),将我的项目更新为 .NET 4.5.2,从我的生产 DLL 项目中删除了以前的 DLL,并添加了新的一个,但现在 我在尝试调用任何 Braintree 函数时遇到此错误:
Could not load file or assembly 'Braintree, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31b586f34d3e96c7' or one of its dependencies. The system cannot find the file specified.
我在互联网上搜索了几天,甚至尝试了其他 DLL 版本,我得到了相同的结果,但没有任何关于问题的提示。
如有任何帮助,我将不胜感激。
谢谢!
尝试将 braintree dll 重命名为 Braintree.dll。如果文件名为 Braintree-net452.dll,由于某些原因它不会复制到 bin 文件夹。