Remove obsolete AddRazorRuntimeCompilation calls (ASPDEPR003)
Recipe ID
OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net10.RazorRuntimeCompilationObsoleteArtifactOpenRewrite.Recipes.CSharp.Migration.DotnetRemoves AddRazorRuntimeCompilation() calls which are obsolete in .NET 10. Use Hot Reload instead for development scenarios.
Single recipenet10dotnetaspnetcoreProprietary
Usage
This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.
mod run . --recipe OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net10.RazorRuntimeCompilationObsoleteIf the recipe isn’t available locally, install it with:
mod config recipes nuget install OpenRewrite.Recipes.CSharp.Migration.Dotnet