Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a packaged runtime redistributable with FSharp.Core 4.3.0.0?

Tags:

f#

f#-3.0

In our environment, we have a server farm, each server running a number of tasks. The task binary packages are deployed (and tasks are run) with an in-house scheduling system.

When a new common dependency on Microsoft libraries or runtimes is introduced, that dependency is normally pushed as a server-wide upgrade (for example, a Microsoft Visual C++ redistributable package). Currently, the servers have a package named Microsoft Visual F# 2.0 Runtime installed, and also have FSharp.Core version 4.0.0.0 in the GAC which came I have no idea whence, but FSharp.Core 4.3.0.0 is not commonly available.

Is there a redistributable package for Visual F# 3.0 that would deploy FSharp.Core 4.3.0.0 into the GAC, or should we instead include a copy of FSharp.Core.dll with each task binary? Indeed, I would avoid having hundreds of copies of a common DLL if possible.

like image 820
kkm Avatar asked Dec 31 '14 19:12

kkm


2 Answers

There's a NuGet Package for just FSharp.Core, and a redistributable package that also includes compiler tools.

like image 52
Joel Mueller Avatar answered Oct 06 '22 02:10

Joel Mueller


The download linked in Joel Mueller's answer (also here) is the official installer from Microsoft. It contains the compiler, interactive, multiple versions of the runtime, and the Visual Studio integration binaries.

The VS integration bits are only deployed if VS is installed (dev scenario). Otherwise, it will just install the compiler/interactive/runtime (server scenario).

Only the latest version of the runtime (4.3.1.0 at this time) is GACed by the installer, but various other versions are deployed, as well, including 4.3.0.0.

Adding assemblies to the GAC is very easy. Just run gacutil /I "C:\Program Files (x86)\Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\4.3.0.0\FSharp.Core.dll" as admin.

like image 38
latkin Avatar answered Oct 06 '22 03:10

latkin