RKSNI0014
Why this is deprecated
Ninject.Modules.NinjectModule is part of the Rokstep.Ninject.Shims shim library. The original library is abandoned or deprecated. This diagnostic ID (RKSNI0014) fires at build time to guide you toward the modern replacement.
Obsolete message: Ninject.Modules.NinjectModule is from the deprecated Ninject library. For new code, write IServiceCollection extension methods instead of module subclasses. See https://dev.rokstep.eu/migrations/RKSNI0014 for details.
What you can do
Option 1 — Drop-in shim (zero code changes)
Install the shim package and keep using the existing API. The shim compiles your code but emits this warning at build time.
dotnet add package Rokstep.Ninject.ShimsOption 2 — Migrate to the modern alternative
Replace Ninject.Modules.NinjectModule with from.
Type details
While you’re at it
Check the Hardened Migration Security Checklist for common security issues to fix during migration.
Related IDs in rokstep-ninject-shims
- RKSNI0010
- RKSNI0001
- RKSNI0002
- RKSNI0015
- RKSNI0005
- RKSNI0006
- RKSNI0011
- RKSNI0012
- RKSNI0003
- RKSNI0004
- RKSNI0007
- RKSNI0008
- RKSNI0013
- RKSNI0009
Not your kind of work? Let me do it for you. Found a typo? Email me — solo founder, no public issue tracker for this site.