Find DataObject usage (HTML clipboard now UTF-8)
Recipe ID
OpenRewrite.Recipes.CSharp.Migration.Dotnet.NetFramework.FindDataObjectGetDataHtmlArtifactOpenRewrite.Recipes.CSharp.Migration.DotnetDataObject.GetData retrieves HTML-format clipboard data as UTF-8 instead of ASCII when retargeting to .NET Framework 4.5.2. Remove any manual UTF-8 conversion workaround.
Single recipesearchdotnetwinformsnet-frameworkProprietary
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.FindDataObjectGetDataHtmlIf the recipe isn’t available locally, install it with:
mod config recipes nuget install OpenRewrite.Recipes.CSharp.Migration.Dotnet