Skip to content
Discussion options

You must be logged in to vote

There are three things here

  1. Updating to .NET SDK 6.0
  2. Updating to FSharp.Core 6.0.0
  3. Updating to F# 6.0
  4. Using all the above for .NET Framework projects

The simplest thing is just to move to .NET SDK 6.0, e.g. by bumping your global.json to use a .NET 6 SDK (currently in preview). In that case, you will get FSharp.Core 6.0.0 and the preview F# 6.0 by default (unless you have explicit settings to change that).

If you want to use .NET 6 SDK but don't want to the default to F# 6.0 language version then use

<LangVersion>5.0</LangVersion>

If you want to use .NET 6 SDK but don't want to update to the default FSharp.Core 6.0.0 then use this for example:

<PackageReference Update="FSharp.Core" Ver…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jimfoye
Comment options

You must be logged in to vote
1 reply
@dsyme
Comment options

dsyme Oct 18, 2021
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants