Ninject in .NET Core

Dejan Dimčić picture Dejan Dimčić · Jul 8, 2016 · Viewed 21.2k times · Source

I am trying to install Ninject 3.3.2 in .NET Core, Released in May 2016. I got an error: The dependency Ninject 3.2.2 does not support framework .NETCoreApp, Version=v1.0. Does anybody had similar problem, and is there any solution for this?

Answer

BatteryBackupUnit picture BatteryBackupUnit · Oct 2, 2017

Ninject 3.3.0 was released September 26th 2017 and now targets .NET Standard 2.0 and thus also runs on .NET Core 2.0.

From the course of things (see issues/discussions on GitHub) it seems likely that some of the changes in the 4.0-beta will be reverted. I would not expected a 4.0 final shortly. Hence I would advise to go with the current version 3 release.