fsprojects / ExcelProvider

This library is for the .NET platform implementing a Excel type provider.
http://fsprojects.github.io/ExcelProvider/
The Unlicense
141 stars 51 forks source link

Use FSharp.TypeProviders.SDK #52

Closed Jand42 closed 6 years ago

Jand42 commented 6 years ago

Description

Currently the project uses a version of FSharp.TypeProviders.StarterPack which seems to not have correct redirecting of FSharp.Core references to the one used by the compiling project.

Repro steps

If you have latest F# tools installed which uses an FSharp.Core with assembly version 4.4.3.0, the TP currently generates a reference to that, even if the project itself references a lower version.

Expected behavior

FSharp.Core assembly references redirected to the one used by the compiling project. This should be handled correctly by current implementation in FSharp.TypeProviders.SDK.

Actual behavior

Failing to find FSharp.Core version 4.4.3.0 at runtime although the project was not referencing it.

Known workarounds

Update project to use latest FSharp.Core. Add downwards assembly redirects to app/web.config.

Related information

dsyme commented 6 years ago

Fixed, but not yet released