Find WinHttpHandler usage (removed in .NET 5)
Recipe ID
OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net5.FindWinHttpHandlerArtifactOpenRewrite.Recipes.CSharp.Migration.DotnetFinds usages of WinHttpHandler which was removed from the .NET 5 runtime. Install the System.Net.Http.WinHttpHandler NuGet package explicitly.
Single recipesearchdotnetnetworkingnet5Proprietary
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.Net5.FindWinHttpHandlerIf the recipe isn’t available locally, install it with:
mod config recipes nuget install OpenRewrite.Recipes.CSharp.Migration.Dotnet