Nick
Nick

Reputation: 9061

How to set F# 4.0 in Visual Studio?

I've just installed F# 4.0 (FSharpBundle). How to let visual studio 2013 use the new version of F#?

// From Visual Studio 2013, fsi:
Microsoft (R) F# Interactive version 12.0.30815.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

For help type #help;;

> 

The new version from powershell:

// PS C:\Program Files (x86)\Microsoft SDKs\F#\4.0\Framework\v4.0> .\Fsi.exe

Microsoft (R) F# Interactive version 14.0.22312.0           
Copyright (c) Microsoft Corporation. All Rights Reserved.   

For help type #help;;                                       

> 

Upvotes: 5

Views: 1246

Answers (1)

latkin
latkin

Reputation: 16812

F# 4.0 is only supported in VS 2015, which is still pre-release.

You can download the RC build (latest public build) here. This comes with fairly new F# stuff, and you can install the latest dev builds from https://github.com/Microsoft/visualfsharp/releases on top of it.

In theory if you build from source using the VS 12.0 toolchain you can still run private F# 4.0 bits in VS 2013.

Upvotes: 3

Related Questions