未能加载文件或程序集“Autofac, Version=3.4.0.0,
生活随笔
收集整理的這篇文章主要介紹了
未能加载文件或程序集“Autofac, Version=3.4.0.0,
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
遇到這個錯誤的時候:如下圖
未能加載文件或程序集“Autofac, Version=3.4.0.0, Culture=neutral, PublicKeyToken=17863af14b0044da”或它的某一個依賴項。找到的程序集清單定義與程序集引用不匹配。
?
只要在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>即可
轉載于:https://www.cnblogs.com/ChineseMoonGod/p/5387526.html
總結
以上是生活随笔為你收集整理的未能加载文件或程序集“Autofac, Version=3.4.0.0,的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: MVC路由中routes.IgnoreR
- 下一篇: 梦到坟墓里的东西是什么意思