Could not load file or assembly 'System.Core, Version=2.0.5.0 和autofac冲突的问题
Posted 欣欣点灯
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Could not load file or assembly 'System.Core, Version=2.0.5.0 和autofac冲突的问题相关的知识,希望对你有一定的参考价值。
在部署到iis的时候会出现这个状况。
解决:下载安装这个补丁
参见资料:
说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
Could not load file or assembly ‘System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e, Retargetable=Yes‘ or one of its dependencies. The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
Exception Details: System.IO.FileLoadException: Could not load file or assembly ‘System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e, Retargetable=Yes‘ or one of its dependencies. The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
以上是关于Could not load file or assembly 'System.Core, Version=2.0.5.0 和autofac冲突的问题的主要内容,如果未能解决你的问题,请参考以下文章
解决Could not load file or assembly CefSharp.Core.dll的问题
Could not load file or assembly 'System.Core, Version=2.0.5.0
Svn启动窗口报错 Could not load file or assembly 'SharpSvn.dll' or one of its
CefSharp"Could not load file or assembly 'CefSharp.Core.dll' or one of its dependencies
Could not load file or assembly 'System.Core, Version=2.0.5.0 和autofac冲突的问题
Could not load file or assembly ‘System.Security.Permissions, Version=0.0.0.0, Culture=neutral, Publ