Find SetCompatibilityVersion() calls
Recipe ID
OpenRewrite.Recipes.CSharp.Migration.Dotnet.AspNetCore2.FindSetCompatibilityVersionArtifactOpenRewrite.Recipes.CSharp.Migration.DotnetFlags SetCompatibilityVersion calls. This method is a no-op in ASP.NET Core 3.0+ and should be removed during migration.
Single recipecsharpsearchaspnetcoremigrationProprietary
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.AspNetCore2.FindSetCompatibilityVersionIf the recipe isn’t available locally, install it with:
mod config recipes nuget install OpenRewrite.Recipes.CSharp.Migration.Dotnet