CaptnCodr / Fli

Execute CLI commands from your F# code in F# style!
MIT License
155 stars 5 forks source link

FSharp.Core, Version=7.0.0.0 #47

Closed rastreus closed 1 year ago

rastreus commented 1 year ago

I currently have a deployment with the following .NET SDKs available:

dotnet --list-sdks
3.1.404
5.0.403
6.0.400

When running a Fli test with version 1.0.0 and 0.11.0, I get the following error:

Unhandled exception. System.IO.FileLoadException: Could not load file or assembly 'FSharp.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
The located assembly's manifest definition does not match the assembly reference. (0x80131040)
File name: 'FSharp.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

Can the FSharp.Core version be set to greater than or equal to 6 in the paket.dependencies file so .NET 6 can be used?

nuget FSharp.Core >= 6

Thanks

CaptnCodr commented 1 year ago

Hey @rastreus, thank you for opening an issue to that. This has been fixed in v1.0.1. It's already available at nuget.