Reputation: 10006
I know I can download the "April CTP" to get F# 2.0 for .NET 2.0. But I need FSC and F# Interactive for .NET 4.0. On a machine with VS 2010 installed, it ends up in C:\Program Files (x86)\Microsoft F#\v4.0. Is there a redistributable for this?
Upvotes: 9
Views: 7088
Reputation: 1712
If you installed Visual Studio 11 Beta or Visual Studio 2012, I recommend you check the following path, where you will find Fsi.exe
and Fsc.exe
.
C:\Program Files (x86)\Microsoft SDKs\F#\3.0\Framework\v4.0
Upvotes: 19
Reputation: 28745
This is an old question, but I came across it and thought that I'd add an update for people who find it through Google:
The current version of the F# CTP (April 2011) includes both .NET 2.0 and .NET 4.0 binaries, including FSI.exe. On my install...
.NET 2 = C:\Program Files (x86)\FSharp-2.0.0.0\bin\
.NET 4 = C:\Program Files (x86)\FSharp-2.0.0.0\v4.0\bin\
Upvotes: 3
Reputation: 118865
Others have provided good answers; I'll summarize and add one more bit (2nd bullet):
(possibly see also this for a similar discussion but no extra info, as well as this Connect request)
Upvotes: 7
Reputation: 6437
The redistributable, for the F# runtime, is available at the following link, but unfortunately doesn't include the compiler or F# interactive: http://www.microsoft.com/downloads/details.aspx?FamilyID=5f0a79f8-925f-4297-9ae2-86e2fdcff33c&displaylang=en
If you already have VS2010 installed on the machine there shouldn't be no need to install it, as the compiler, fsi, and F# runtime will be installed with VS. It should be just a matter of adding the directory containing the compiler to the path, so the shell can find it (if you want to use the compiler/fsc from the command-line).
Upvotes: 3
Reputation: 243041
I think that there is no standalone installation of F# for .NET 4.0 (similar to the standalone installation for .NET 2.0). The reason probably is that F# for .NET 4.0 is simply meant to be distributed only as part of Visual Studio 2010 and not separately (just like other core Visual Studio languages).
If you need to use fsi.exe
and fsc.exe
for .NET 4.0 on a machine that doesn't have Visual Studio installed, you'll probably need to copy them together with the referenced libraries. This shouldn't be that difficult - you only need assemblies from "C:\Program Files (x86)\Microsoft F#\v4.0" together with FSharp.Core.dll
(which should be added to the GAC) and (I think) also ISymWrapper.dll
(but I'm not quite sure where this is located).
Upvotes: 2