I have created new asp mvc 5 project.
Project target .NET 4.5.
I installed ninject mvc 3 nuget package.
But when I run project I get this error in NinjectWebCommon.cs
in CreateKernel()
method:
An exception of type 'System.IO.FileLoadException' occurred in Ninject.dll but was not handled in user code
Additional information: 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)