-
Notifications
You must be signed in to change notification settings - Fork 71
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
Target .NET Core 2.0 #270
Comments
It sounds feasible, though it would be great if other users of |
At Tachyus, we use module Constants =
[<Literal>]
let ``Some Value`` = "Some Value"
[<Literal>]
let ``Another Value`` = "Another Value" We don't have any use of generating true enumerations, handy as that is. I'm also not aware of any requirements for the |
I believe @dmitry-a-morozov implemented this mostly for C# compatibility, and I am not aware of any usages of this feature in the wild. I am fine with the switch. |
I made an attempt to migrate the project to target netstandard 2.0, but I ran into a brick wall when I realized that |
I wrote up notes of what it means to move an existing type provider to support both .NET Standard and loading into .NET Core-based F# tooling https://github.com/fsprojects/FSharp.TypeProviders.SDK#updating-a-type-provider-to-be-suitable-for-use-with-the-net-sdk However it looks like SqlCommandBuilder and .NET Standard 2.1 will be needed from the above |
@samhanes When you migrated the project target netstandard 2.0 did you upgrade ProvidedTypes.fs to the latest FSharp.TypeProviders.SDK? I've hit a few problem and I'm just wondering if you have already solve them. |
WIP #291, however, it's not going very well so far. |
Looks like #314 will resolve this. |
Implemented in #314 |
Description
Provide an updated package that supports .NET Core 2.0. This is not yet ready but getting closer. See dotnet/fsharp#3069. I'm happy to help contribute to this.
Note that support for .NET Core means reverting
SqlEnumProvider
to an erasing provider, or cutting this from the .NET Core version, as generative providers will not be supported. What should be done in this case? As a user ofSqlEnumProvider
, I would prefer that it revert to an erasing provider, at least for the .NET Core target. I'm not sure whether others are using this for generating true enums or not at this time.Questions:
System.Enum
feature?The text was updated successfully, but these errors were encountered: