Open
Conversation
Author
|
I should add that I only get the errors described above when compiling via |
|
We're seeing this exact issue currently |
Contributor
|
I too have had this error for a long time. It's preventing me from using VS Code, among other things. It would be great to have this fixed! :) |
Collaborator
|
related:
@samhanes I'm not sure what is the status on this, but building projects referencing the provider without full framework compiler seems to be messy for now. I think the scenarios are :
I'd like to think this is something that needs to be addressed in the compiler itself as it is apparently very difficult to get TP to work when targetting the different platforms using the .net core toolchain. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@smoothdeveloper
Addressing #337 - still a work in progress and I'm not sure I have tested all the use cases, but this works with the test projects.
However, I have an existing netcore project which stopped working when I moved from 2.0.2 to 2.0.5 which I was hoping I would have addressed here. (That's why I started this PR with a revert of the commit for #338 - post-revert, my project compiles so that is the commit that introduced the issue.)
With 2.0.5 I get the following error at compile:
The type provider 'FSharp.Data.SqlProgrammabilityProvider' reported an error: Could not load file or assembly 'System.Data.SqlClient, Version=4.5.0.1And now when I reference the version in this branch I get almost the exact same thing:
The type provider 'FSharp.Data.SqlProgrammabilityProvider' reported an error: Could not load file or assembly 'System.Data.SqlClient, Version=4.5.0.0My project references
System.Data.SqlClientversion 4.6.1 and I have binding redirects turned on, so I am not sure what is going on. Looks similar to this issue: fsprojects/SQLProvider#529.