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

ResXProvider cannot read any values from the embedded resource. #73

Closed hafuu closed 7 years ago

hafuu commented 8 years ago

At runtime, ResXProvider references the local path of the build environment. ResXProvider generates the following code.

ResXProvider.readValue "E:\\repos\\FsYaml2\\FsYaml\\Resources.resx" "mustBeSequence" :?> string

An exception occurs because Resources.resx does not exist at runtime.

Similar to https://github.com/fsprojects/FSharp.Configuration/issues/46