Find System.IO.Path normalization change

Proprietary

Finds uses of System.IO.Path, whose normalization defers to the OS and supports long (>260 char) paths when retargeting to .NET Framework 4.6.2 (Switch.System.IO.UseLegacyPathHandling / Switch.System.IO.BlockLongPaths to revert). Review path handling and PathTooLongException assumptions.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.NetFramework.FindPathNormalizationChange
mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.NetFramework.FindPathNormalizationChange

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