Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set F# 4.0 in Visual Studio?

Tags:

f#

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;;                                       

> 
like image 709
Nick Avatar asked Oct 19 '22 12:10

Nick


1 Answers

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.

like image 196
latkin Avatar answered Oct 22 '22 23:10

latkin