Reputation: 2624
Can I use 4.0 compiler to create .net 3.5 dll?
Or the minimal .net version is 4.5?
Also, could the latest version of FSharp.Core be used with .net 3.5?
Upvotes: 3
Views: 687
Reputation: 233125
If you select .NET Framework 4 as the Target Framework in Visual Studio, the only F# version you can pick is F# 3.0:
If, on the other hand, you select .NET Framework 4.5, the option to pick F# 4.0 becomes available as well.
Based on that, it looks as though .NET 4.5 is the minimum version for F# 4. That's only Visual Studio's view, though, so it may be possible that you can use F# 4 with older versions of .NET using other development tools.
If you look at the NuGet page for FSharp.Core 4.0.0.1 (currently the most recent version), you'll see that it supports these frameworks:
Upvotes: 3