首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法加载文件或程序集“Ninject.Web,Version=3.2.0.0,Culture=neutral,PublicKeyToken=c7192dc5380945e7”或其依赖项之一

无法加载文件或程序集“Ninject.Web,Version=3.2.0.0,Culture=neutral,PublicKeyToken=c7192dc5380945e7”或其依赖项之一
EN

Stack Overflow用户
提问于 2016-07-22 18:54:52
回答 1查看 1.7K关注 0票数 0

我正在做MVC5项目。我想使用MVC论坛Nuget包使用包管理器控制台。已安装包管理器控制台。在尝试运行项目后,我遇到了如下错误

代码语言:javascript
复制
Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Ninject.Web, Version=3.2.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7' could not be loaded.




=== Pre-bind state information ===
LOG: DisplayName = Ninject.Web, Version=3.2.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7
 (Fully-specified)
LOG: Appbase = file:///C:/TIckmarksportal/MVC5_Full_Version/Inspinia_MVC5/
LOG: Initial PrivatePath = C:\TIckmarksportal\MVC5_Full_Version\Inspinia_MVC5\bin
Calling assembly : mvcForum.Web, Version=1.5.1.60520, Culture=neutral, PublicKeyToken=null.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\TIckmarksportal\MVC5_Full_Version\Inspinia_MVC5\web.config
LOG: Using host configuration file: C:\Users\Tickmarks\Documents\IISExpress\config\aspnet.config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Ninject.Web, Version=3.2.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7
LOG: Attempting download of new URL file:///C:/Users/Tickmarks/AppData/Local/Temp/Temporary ASP.NET Files/vs/d4d6aff4/6a77f817/Ninject.Web.DLL.
LOG: Attempting download of new URL file:///C:/Users/Tickmarks/AppData/Local/Temp/Temporary ASP.NET Files/vs/d4d6aff4/6a77f817/Ninject.Web/Ninject.Web.DLL.
LOG: Attempting download of new URL file:///C:/TIckmarksportal/MVC5_Full_Version/Inspinia_MVC5/bin/Ninject.Web.DLL.
LOG: Attempting download of new URL file:///C:/TIckmarksportal/MVC5_Full_Version/Inspinia_MVC5/bin/Ninject.Web/Ninject.Web.DLL.
LOG: Attempting download of new URL file:///C:/Users/Tickmarks/AppData/Local/Temp/Temporary ASP.NET Files/vs/d4d6aff4/6a77f817/Ninject.Web.EXE.
LOG: Attempting download of new URL file:///C:/Users/Tickmarks/AppData/Local/Temp/Temporary ASP.NET Files/vs/d4d6aff4/6a77f817/Ninject.Web/Ninject.Web.EXE.
LOG: Attempting download of new URL file:///C:/TIckmarksportal/MVC5_Full_Version/Inspinia_MVC5/bin/Ninject.Web.EXE.
LOG: Attempting download of new URL file:///C:/TIckmarksportal/MVC5_Full_Version/Inspinia_MVC5/bin/Ninject.Web/Ninject.Web.EXE.

我正在尝试安装更高的版本不工作?如何修复?在安装MVC论坛之前,它的工作。安装后,它会显示如下错误。

EN

回答 1

Stack Overflow用户

发布于 2016-11-30 00:50:24

MVCForum程序包引用了Ninject.Web,但此程序包不会与MVCForum一起安装。您需要自行安装Ninject.Web包。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/38524689

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档