dotnet / fsharp

The F# compiler, F# core library, F# language service, and F# tooling integration for Visual Studio
https://dotnet.microsoft.com/languages/fsharp
MIT License
3.84k stars 777 forks source link

Use .NET Package Validation to check for binary compat against baseline #12368

Open dsyme opened 2 years ago

dsyme commented 2 years ago

There is a new .NET package verification tool to help check for binary compat

https://devblogs.microsoft.com/dotnet/package-validation/

You can compare against a baseline package

https://devblogs.microsoft.com/dotnet/package-validation/#validation-against-baseline-package-version

We should consider using this for FSharp.Core and FSharp.Compiler.Service

dsyme commented 2 years ago

@colombod did an experiment in using the tool on .NET Interactive here: https://github.com/dotnet/interactive/pull/1726. It's gloriously simple to use, and immediately found an inadvertent breaking change that had broken the .NET Interactive extension ecosystem here: https://github.com/dotnet/interactive/issues/1719