未能加载文件或程序集“Autofac, Version=3.4.0.0,
生活随笔
收集整理的這篇文章主要介紹了
未能加载文件或程序集“Autofac, Version=3.4.0.0,
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
遇到這個(gè)錯(cuò)誤的時(shí)候:如下圖
未能加載文件或程序集“Autofac, Version=3.4.0.0, Culture=neutral, PublicKeyToken=17863af14b0044da”或它的某一個(gè)依賴項(xiàng)。找到的程序集清單定義與程序集引用不匹配。
?
只要在config加上
<runtime><assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"><dependentAssembly><assemblyIdentity name="Autofac" publicKeyToken="17863AF14B0044DA" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-3.5.0.0" newVersion="3.5.0.0" /></dependentAssembly></assemblyBinding></runtime>和
<configSections> <section name="autofac" type="Autofac.Configuration.SectionHandler, Autofac.Configuration" /></configSections>即可
轉(zhuǎn)載于:https://www.cnblogs.com/ChineseMoonGod/p/5387526.html
總結(jié)
以上是生活随笔為你收集整理的未能加载文件或程序集“Autofac, Version=3.4.0.0,的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: MVC路由中routes.IgnoreR
- 下一篇: 软件工程概论课堂作业3