views:

308

answers:

2

I have been playing around with Silverlight & F# and tried to make a Silverlight 4 application in VS2010 Professional.

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

Error 12 F# runtime for Silverlight version v4.0 is not installed. Please go to http://go.microsoft.com/fwlink/?LinkId=177463 to download and install matching..

For the life of me I cannot find the runtime on this page or a place to download it. Does anyone know of the actual URL

+3  A: 

You can try making one for Silverlight 3, then referencing that from the Silverlight 4 Project.

I know it will let you do that in Visual Studio, Edit: Confirmed to work for a basic function (shown below). However library support will likely be bad (or spotty) due to conflicting versions, but as a stand alone library it should do ok.

module Module1
    let testfunction value =
        value + 1
Rangoric
Thanks... I will try that for now...
Mark Pearl
+3  A: 

It's not available yet.

"F# Runtime for Silverlight 4" will be included with the RTM release of the "Silverlight 4 Tools for Visual Studio 2010". I'm not sure exactly when that comes out; sometime in the next month I think maybe.

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

Brian
Thanks... I feared that was the case...
Mark Pearl