I am adding Ninject in MVC project using the following commands in Package Manager Console:
Install-Package Ninject -version 3.0.1.10
Install-Package Ninject.Web
If you're following the Pro ASP.NET MVC 5, follow these steps to resolve the issue:
References
and go to Manage NuGet Packages
.Online
, nuget.org
and search for ninject.Ninject
, Ninject.Web.Common
and Ninject.MVC5
(the book says to install MVC3
).Manage NuGet Packages
menu (from step 1), go to Updates
, nuget.org
.Microsoft ASP.NET MVC
.