Find WinHttpHandler usage (removed in .NET 5)

Proprietary

Finds usages of WinHttpHandler which was removed from the .NET 5 runtime. Install the System.Net.Http.WinHttpHandler NuGet package explicitly.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net5.FindWinHttpHandler
mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net5.FindWinHttpHandler

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.