无法加载文件或程序集'System.IdentityModel,Version = 4.0.0.0,Culture = neutral,PublicKeyToken = b77a5c56193

编程入门 行业动态 更新时间:2024-10-21 09:17:07
本文介绍了无法加载文件或程序集'System.IdentityModel,Version = 4.0.0.0,Culture = neutral,PublicKeyToken = b77a5c561934e089'或其依赖项之一的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我是mvc的新手.我刚刚安装了Visual Studio 15,当我创建一个mvc项目并运行它时,没有进行任何修改.它给了我上面提到的错误.我在另一台PC上做了同样的事情,并且可以正常工作,但是在我的系统上却给了我错误.搜索解决方案,但找不到任何特定的解决方案.所以请指导我该怎么做.

I am new to mvc. I just installed the Visual studio 15 and when i create a mvc project and run it without any modification. it gives me the above mentioned error. I did the same thing on another pc and it works but on my system it gives me the error. search for solutions but could not find any specific. so please guide me what to do.

推荐答案

无法加载文件或程序集'AAAAAAAAAA,版本= 6.0.0.0,Culture =中性,PublicKeyToken = xxxxxxxxxx"或其依赖项之一. "是一个常见错误.请尝试以下方法以解决此错误:

"Could not load file or assembly 'AAAAAAAAAA, Version=6.0.0.0, Culture=neutral, PublicKeyToken=xxxxxxxxxx' or one of its dependencies." is a common error. Try the following methods in order to fix this error:

方法I: 将以下密钥添加到web.config中的部分:

Method I: Add the following key to the section in your web.config:

<compilation debug="true" targetFramework="4.5" > <assemblies> <add assembly="AAAAAAAAAA, Version=4.0.0.0, Culture=neutral, PublicKeyToken=xxxxxxxxxx" /> </assemblies> </compilation>

方法II: :如果问题仍未解决,请尝试在PM Console上运行以下命令:

Method II: If the problem is not solved, try to run this command on PM Console:

安装软件包AAAAAAAAAA

希望这对您有帮助...

Hope this helps...

更多推荐

无法加载文件或程序集'System.IdentityModel,Version = 4.0.0.0,Culture = neutral,PublicKe

本文发布于:2023-11-13 00:16:02,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1582880.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:或其   加载   文件   程序   System

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!