fslaborg / Deedle

Easy to use .NET library for data and time series manipulation and for scientific programming
http://fslab.org/Deedle/
BSD 2-Clause "Simplified" License
937 stars 195 forks source link

Strange compiler error when referencing the deedle dll in the latest visual studio FSI #508

Open kMutagene opened 4 years ago

kMutagene commented 4 years ago

I am getting an error i have never seen before and i am quite confsed about what it means. I am trying use Deedle 2.2 from an F# script in Visual Studio 2019 16.7, and i get the following error:

error FS0192: internal error: internal error: Fixup: the ccu thunk for assembly System.Globalization not delayed!

image

The net45 version works just fine.

Has anyone experienced this error as well and knows a fix?

zyzhu commented 4 years ago

In FSI under Visual Studio, I always reference Deedle via net45.

I've tried the netstandard version under latest dotnet/interactive Jupyter kernel. It works fine there. image

I remember there are various pending issues with FSI under Visual Studio to support netstandard libraries for now. Just search the issues under fsharp repo. Maybe if you enable preview version it will work out. But I haven't tried it yet.

zyzhu commented 4 years ago

Another note. On Jupyter notebook, you're supposed to reference nuget package this way to make life easier image