Execute F# script steps using dotnet fsi
Several packages are now incompatible with FSI as it uses the old execution engine, one example is FSharp.Data and latest Newtonsoft.Json. System.Text.Json is also out of the question, basically anything targeting Netstandard 2.0.
dotnet fsi will allow usage of said packages. It will also ensure cross platform compatibility for scripts and allows referencing packages in the script. https://devblogs.microsoft.com/dotnet/f-5-and-f-tools-update-for-june/
We should be able to choose whether the script will be executed via FSI 4.4 (with full framework) or dotnet fsi (with dotnet core) - as we are able to choose whether a powershell script will be executed by powershel 5.1 or by powershell core (7.3?)
Would love to be able to use f# 5 features such as package references and string interpolation