Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type provider doesn't work with FParsec-Pipes 1.0.0 #37

Open
marklam opened this issue Sep 17, 2018 · 1 comment
Open

Type provider doesn't work with FParsec-Pipes 1.0.0 #37

marklam opened this issue Sep 17, 2018 · 1 comment

Comments

@marklam
Copy link

marklam commented Sep 17, 2018

Following the tutorial in a .net 4.7.2 console app with FSharp.Core 4.5, the provider reports

The type provider 'Rezoom.SQL.Provider.Provider' reported an error: The type initializer for '<StartupCode$Rezoom-SQL-Compiler>.$Rezoom.SQL.Compiler.Config' threw an exception

for the line type MyModel = SQLModel<".">

It seems to be a problem with the FParsec dependency, because pinning at 0.4.0 fixes it.

@rspeele
Copy link
Collaborator

rspeele commented Oct 2, 2018

I think this is due to the type provider assembly resolution code hoping to find a .NET framework dependency, when the 1.0.0 version of this dependency is .NET standard. I had hoped to upgrade them all together but hit a roadblock making Rezoom.SQL .NET standard compatible.

The best solution at this point is probably to put out a hotfix package for Rezoom.SQL.Provider that specifies the appropriate max version # for its dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants