fsprojects / FSharp.Configuration

The FSharp.Configuration project contains type providers for the configuration of .NET projects.
http://fsprojects.github.io/FSharp.Configuration/
Other
114 stars 63 forks source link

Expected msorlib to have version number #177

Open jkone27 opened 3 months ago

jkone27 commented 3 months ago
image

strange error repro

#r "nuget: FSharp.Configuration"
open FSharp.Configuration

type TestConfig = YamlConfig<FilePath="./test.yaml">
let config = TestConfig()

test.yaml file as provided in docs...

MrLuje commented 2 weeks ago

Probably a similar/related issue, but compiling from source gives the same result. Also, once compiled, opening https://github.com/fsprojects/FSharp.Configuration/blob/master/tests/FSharp.Configuration.Tests/YamlProvider.Tests.fs#L8 gives to another error

image

The funny thing with the fsx file is that it's properly runs with dotnet fsi test.fsx, maybe a DesignTime issue 🤷‍♂️