[英]Could not load file or assembly 'Ninject.Web' after Install MVC Forum Nuget Package
Created New blank MVC project and Install MVC Forum. 创建新的空白MVC项目并安装MVC论坛。 then trying To Run solution I am getting Error
然后尝试运行解决方案,我得到了错误
Could not load file or assembly 'Ninject.Web, Version=3.2.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7' or one of its dependencies.
无法加载文件或程序集“ Ninject.Web,版本= 3.2.0.0,区域性=中性,PublicKeyToken = c7192dc5380945e7”或其依赖项之一。 The system cannot find the file specified.
该系统找不到指定的文件。
Description: An unhandled exception occurred during the execution of the current web request.
说明:执行当前Web请求期间发生未处理的异常。 Please review the stack trace for more information about the error and where it originated in the code.
请查看堆栈跟踪,以获取有关错误及其在代码中起源的更多信息。
Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'Ninject.Web, Version=3.2.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7' or one of its dependencies.
异常详细信息:System.IO.FileNotFoundException:无法加载文件或程序集“ Ninject.Web,版本= 3.2.0.0,区域性=中性,PublicKeyToken = c7192dc5380945e7”或其依赖项之一。 The system cannot find the file specified.
该系统找不到指定的文件。
Source Error:
源错误:
An unhandled exception was generated during the execution of the current web request.
当前Web请求的执行期间生成了未处理的异常。 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.
程序集加载跟踪:以下信息有助于确定为什么无法加载程序集“ Ninject.Web,版本= 3.2.0.0,区域性=中性,PublicKeyToken = c7192dc5380945e7”。
after uninstall-MVC Forum package its Working. 卸载后,MVC论坛包将其工作。 how to fix this issues ?
如何解决这个问题?
You just need to uninstalled all the packages of Ninject 您只需要卸载所有Ninject软件包
OR 要么
Get it from NuGet 从NuGet获取它
http://www.nuget.org/packages/Ninject.Web.Common/3.0.0.7 http://www.nuget.org/packages/Ninject.Web.Common/3.0.0.7
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.