RKSEL0015
Why this is deprecated
Elmah.ErrorMailModule is part of the Rokstep.Elmah.Shims shim library. The original library is abandoned or deprecated. This diagnostic ID (RKSEL0015) fires at build time to guide you toward the modern replacement.
Obsolete message: Elmah.ErrorMailModule is from the deprecated ELMAH library. On modern .NET, register an Elmah.ErrorMail instance in DI, hook its Mailing event from a hosted service, and forward errors from your app.UseRokstepElmah() middleware. See https://dev.rokstep.eu/migrations/RKSEL0015 for migration guidance.
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.Elmah.ShimsOption 2 — Migrate to the modern alternative
Replace Elmah.ErrorMailModule 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-elmah-shims
- RKSEL0001
- RKSEL0002
- RKSEL0006
- RKSEL0008
- RKSEL0016
- RKSEL0003
- RKSEL0004
- RKSEL0014
- RKSEL0009
- RKSEL0009
- RKSEL0010
- RKSEL0005
- RKSEL0012
- RKSEL0007
- RKSEL0011
- RKSEL0013
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.