从Facebook上的NuGet C#SDK安装不工作 [英] Facebook C# SDK installation from Nuget not working

查看:129
本文介绍了从Facebook上的NuGet C#SDK安装不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

编码平台:ASP.NET VB WebForms4.0

Coding Platform: ASP.NET WebForms4.0 VB

安装的Facebook和FacebookWeb,当我运行应用程序。我得到这个错误

Installed Facebook and FacebookWeb and when I run the application. I get this error

无法加载文件或程序
  Facebook.Contracts,版本= 5.0.25.0,
  文化=中立,
  公钥= 58cb4f2111d1e6de或
  它的一个依赖。强名称
  签名无法验证。该
  组件可能已被篡改,
  或者它被延迟签名而不是完全
  用正确的私钥签署。
  (异常来自HRESULT:0x80131045)

Could not load file or assembly 'Facebook.Contracts, Version=5.0.25.0, Culture=neutral, PublicKeyToken=58cb4f2111d1e6de' or one of its dependencies. Strong name signature could not be verified. The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)

有什么地方出错了?

推荐答案

删除了 Facebook.Contracts.dll Facebook.Web.Contracts。 DLL 。结果
现在工作的罚款。

Removed the Facebook.Contracts.dll and Facebook.Web.Contracts.dll.
Working fine now.

这篇关于从Facebook上的NuGet C#SDK安装不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆