Where can I find the F # runtime for Silverlight 4

I played with Silverlight and F # and tried to make a Silverlight 4 application in VS2010 Professional.

When I try to compile my application, I get the following error message ...

Error 12 F # runtime for Silverlight version 4.0 is not installed. Go to http://go.microsoft.com/fwlink/?LinkId=177463 to download and install the appropriate file.

Throughout life, I cannot find the runtime on this page or the place to download it. Does anyone know the actual URL

+6
f # silverlight
source share
3 answers

It is not yet available.

"F # Runtime for Silverlight 4" will be included in the RTM release of "Silverlight 4 Tools for Visual Studio 2010". I am not sure when this will happen; then next month I think maybe.

(In the meantime, you can use Silverlight 3.)

+3
source share

You can try to do this for Silverlight 3, and then reference it from a Silverlight 4 project.

I know that this will allow you to do this in Visual Studio, Edit: Confirmed, to work for the base function (shown below). However, library support is likely to be poor (or spotty) due to conflicting versions, but as a stand-alone library it should work fine.

module Module1 let testfunction value = value + 1 
+3
source share

I come in 2 years and try to do the same, but I see that the link provided will still not set the F # runtime for me. I came across this post, Installing F # for Silverlight 4 in VS2010 Service Pack 1 (SP1) , which solved the problem for me.

Relevant details from the page:

  • Download Microsoft Silverlight 4 Tools for Visual Studio 2010

  • Do not perform the installation (these tools are already installed VS2010 SP1, but not all) - see the description of Visual Studio 2010 Service Pack 1 and Microsoft Silverlight 4 Tools for Visual Studio 2010 and compare the differences)

  • Extract the files from the installer and find the file FSharpRuntimeSL4.msi

  • Install FSharpRuntimeSL4.msi

To verify the installation, you can check whether there is C: \ Program Files (x86) \ Microsoft F # \ Silverlight \ Libraries \ Client \ v4.0 the folder was created or you will see that you have Microsoft F # runtime for Silverlight 4 version 2.0.0.0 in the list of installed programs.

+1
source share

All Articles