简体   繁体   English

安装MVC论坛Nuget包后无法加载文件或程序集'Ninject.Web'

[英]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.

相关问题 无法加载文件或程序集'Ninject.Web,Version = 3.2.0.0,Culture = neutral,PublicKeyToken = c7192dc5380945e7'或其依赖项之一 - Could not load file or assembly 'Ninject.Web, Version=3.2.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7' or one of its dependencies nuget 包重定向后无法加载文件或程序集“System.Runtime.InteropServices.RuntimeInformation” - Could not load file or assembly 'System.Runtime.InteropServices.RuntimeInformation' after nuget package retargetting Nuget包引用导致“无法加载文件或程序集”? - Nuget package references cause “Could not load file or assembly” ? Elmah MySql Nuget包问题'无法加载文件或程序集' - Elmah MySql Nuget Package Issue 'Could not load file or assembly' 无法为 NET Standard 加载 NuGet 包的文件或程序集异常 NET 5/6 - could not load file or assembly exception NET 5/6 of NuGet package for NET Standard Ninject.Web和用户控件 - Ninject.Web and user controls 无法加载文件或程序集 'Ninject 版本 4.0.0.0 - Could not load file or assembly 'Ninject version 4.0.0.0 '无法加载文件或程序集。 系统找不到指定的文件' - 打包后抛出 .NET 框架 NuGet package - 'Could not load file or assembly. The system cannot find the file specified' - thrown after packaging .NET Framework NuGet package “‘无法加载文件或程序集‘Elmah’或其依赖项之一。在 NuGet 中使用 Elmah.MVC 后,系统找不到指定的文件” - "'Could not load file or assembly 'Elmah' or one of its dependencies. The system cannot find the file specified'' after using Elmah.MVC in NuGet 无法在MVC 5中加载文件或程序集'System.Web.Mvc' - Could not load file or assembly 'System.Web.Mvc' in mvc 5
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM