如何解决facebook相关问题? [英] How to solve facebook related problem?

查看:75
本文介绍了如何解决facebook相关问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

调试我的代码后,出现此错误:

无法加载文件或程序集"Facebook.Web"或其依赖项之一.该程序集由比当前加载的运行时新的运行时构建,无法加载.

谁能帮我解决这个问题.
在此先感谢

After debugging my code i get this error:

Could not load file or assembly ''Facebook.Web'' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

Can any one help me to solve this.
Thanks in advance

推荐答案

您正在尝试引用为运行时构建的程序集,该程序集比您的项目使用的程序集新.例如,如果引用的程序集是使用.NET 4.0构建的,而您的项目使用.NET 3.5,则将看到此错误.您必须将项目升级到与引用程序集的Framework版本匹配的Framework版本.
You are trying to reference an assembly that was build for a runtime this is newer than the one your project uses. For example, if the referred assembly is build using .NET 4.0 and your project is using .NET 3.5, you''ll see this error. You''ll have to upgrade your project to the Framework version that matches the referred assembly''s Framework version.


更改.Net Framework版本.
Change .Net Framework Version.


这篇关于如何解决facebook相关问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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