nblockchain / fsx

FSX is the ideal tool for people that use F# for their scripting needs.
MIT License
17 stars 5 forks source link

fsxc: de-prioritize netstandard2.0 #10

Closed knocte closed 1 year ago

knocte commented 1 year ago

The recently implemented #r "NugetPkg" feature doesn't really work for net4.x legacy when trying to consume netstandard2.0 binaries because it generates this error:

error FS0078: Unable to find the file 'netstandard.dll' in any of...

This PR doesn't fix the problem completely but mitigates it. At least it will make it work for nuget packages that also distribute net4.x binaries (and while we're at it, we add net452 which the TickSpec (the lib used in our nugetRef tests now) uses.