Move a reviewed WebUtilities package condition to .NET 10

Proprietary

Moves one selected project's exact net9.0 ItemGroup condition containing only a literal Microsoft.AspNetCore.WebUtilities 10.0.x reference to net10.0 after retargeting. Requires explicit review of imported dependency policy; retains other targets, package metadata and source. Standalone preparation leaf, not a general MSBuild condition evaluator.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net10.MoveReviewedWebUtilitiesCondition

Required

Exact relative captured .csproj path; no globs.

Confirm that the old bucket was intended for the replaced net9 host, the exact package is needed on net10, and imported/ancestor/package/CI policy does not override targets, package versions or item inclusion.

Optional

RegenerateMarkerBoolean

Restore the changed dependency graph; disable only before EnsureCsprojAttestation.

mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net10.MoveReviewedWebUtilitiesCondition \ -P ProjectPath='<ProjectPath>' \ -P DependencyPolicyReviewed=false

Its required option ProjectPath has no example to run with. Fill it in above.

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