Find BinaryFormatter usage (removed in .NET 9)
ProprietaryFinds usages of BinaryFormatter which always throws NotSupportedException in .NET 9. Migrate to a different serializer such as System.Text.Json, XmlSerializer, or DataContractSerializer.
OpenRewrite. Recipes. CSharp. Migration. Dotnet. Net9. FindBinaryFormattermod run . --recipe= OpenRewrite. Recipes. CSharp. Migration. Dotnet. Net9. FindBinaryFormatterInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.