Problem using Ninject on MVC 5

239 views
Skip to first unread message

Iyos Kusmana

unread,
Jun 4, 2014, 10:02:51 PM6/4/14
to nin...@googlegroups.com
Hi, 

I am trying to use Ninject on MVC 5 Project using the following command:

Install-Package Ninject -version 3.0.1.10
Install-Package Ninject.Web.Common -version 3.0.0.7
Install-Package Ninject.MVC3 -Version 3.0.0.6

When I run the application, I get error like this:

Could not load file or assembly 'System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)


I have no idea with this error. I already use the latest version: Ninject.MVC5,  but it's still get error

Any idea?

Fred Chateau

unread,
Jun 25, 2014, 1:32:22 AM6/25/14
to nin...@googlegroups.com

I believe latest version is 3.2.2.0.  I installed it last night from NuGet.  Look for Ninject.MVC5.
Reply all
Reply to author
Forward
0 new messages