I'm trying to use load the FsXAml package in an F# interactive session. I used the following directive:
#r "nuget: FsXaml.Wpf, 3.1.6"
But I get following error:
Project.fsproj.fsx(11,1): error FS3053:
The type provider 'FsXaml.XamlTypeProvider' reported an error:
The type provider constructor has thrown an exception:
The type initializer for '<StartupCode$FsXaml-Wpf-TypeProvider>.$XamlTypeUtils' threw an exception.
I tried it with Visual Studio 2019 and Jetbrains Rider. For reference my project was set to the .Net framework 4.6.1. (I tried the .Net framework 4.6.8 and I got the same problem).
Am I able to reference that library from within F Sharp interactive at all?