Find WPF Grid usage (star-column allocation change)
Recipe ID
OpenRewrite.Recipes.CSharp.Migration.Dotnet.NetFramework.FindWpfGridStarAllocationArtifactOpenRewrite.Recipes.CSharp.Migration.DotnetThe WPF Grid star-column space allocation algorithm was replaced when retargeting to .NET Framework 4.7 (Switch.System.Windows.Controls.Grid.StarDefinitionsCanExceedAvailableSpace=true restores the old algorithm). Review layouts that depend on the previous star-sizing behavior.
Single recipesearchdotnetnet-frameworkwpfProprietary
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.NetFramework.FindWpfGridStarAllocationIf the recipe isn’t available locally, install it with:
mod config recipes nuget install OpenRewrite.Recipes.CSharp.Migration.Dotnet