-
Notifications
You must be signed in to change notification settings - Fork 20
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
Make FSharp.Core nuget package netstandard2.0 only #893
Comments
Great idea, but is there anything in If not, it sounds like a simple compiler switch and cleanup (like those jobs still running 4.6) and I, and likely many others with me, can get rid of having two build targets for libraries. |
Not as far as I recall the API surface area for both is identical. |
Sounds great.
Clarification: "F# apps and libraries can target one or more framework references compatible with netstandard2.0" |
updated text with this clarification. |
This should also be done with the change: dotnet/fsharp#7433 |
I did this for the core of FSharp.Data.Json (https://github.com/pimbrouwers/FSharp.Data.Json) and it's been flying off the shelves since then. But seriously, I think this is a great idea. I'd happy to help lend a hand to this. |
Make FSharp.Core nuget package netstandard2.0 only
I propose we ... make FSharp.Core nuget package netstandard2.0 only starting from FSharp.Core version=5.0.0
The existing way of approaching this problem in F# is FSHarp.Core nuget package ships a desktop and a netstandard 2.0 version of the FSharp.Core library
Pros and Cons
The advantages of making this adjustment to F# are :
The disadvantages of making this adjustment to F# are :
Extra information
For developers who wish to target versions of the dotnet framework earlier than net472 they can use the FSharp.Core4.7.* nuget packages, but would forego future language features that depend on later revisions of FSharp.Core.
We considered moving to netstandard2.1, however, that would have forgone target the desktop net framework completely and decided that, at this time we would prefer to continue to support developers targetting the latest release of the desktop.
S
Estimated cost (XS, S, M, L, XL, XXL):
Related suggestions: (put links to related suggestions here)
Affidavit (please submit!)
Please tick this by placing a cross in the box:
Please tick all that apply:
Design discussions: fsharp/fslang-design#482
DCR - PR: https://github.com/fsharp/fslang-design/pull/483/files
The text was updated successfully, but these errors were encountered: