Skip to content

RKSEL0009

Why this is deprecated

Elmah.ErrorMail is part of the Rokstep.Elmah.Shims shim library. The original library is abandoned or deprecated. This diagnostic ID (RKSEL0009) fires at build time to guide you toward the modern replacement.

Obsolete message: Elmah.ErrorMail.Send is the synchronous wrapper kept for ELMAH 1.2.2 compatibility. Prefer SendAsync to avoid sync-over-async thread-pool starvation. See https://dev.rokstep.eu/migrations/RKSEL0009 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.

Terminal window
dotnet add package Rokstep.Elmah.Shims

Option 2 — Migrate to the modern alternative

Replace Elmah.ErrorMail with from.

Type details

While you’re at it

Check the Hardened Migration Security Checklist for common security issues to fix during migration.


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.