Skip to content

rokstep-ninject-shims

NuGet version

GitHub source

Status: alpha

Install

Terminal window
dotnet add package Rokstep.Ninject.Shims

What this is

A drop-in replacement for Ninject, the .NET dependency injection container whose last stable release was 2019 and whose maintainer announced discontinuation in 2024. The shims preserve the Ninject public surface so your existing code compiles, but every obsolete member emits an RKSNI#### diagnostic pointing at the Microsoft.Extensions.DependencyInjection equivalent.

Diagnostic IDs

15 total: RKSNI0001 - RKSNI0015.

CHANGELOG

See github.com/rokstep/ninject-shims/blob/main/CHANGELOG.md.