Please have a look at assembly binding redirect in your Web.config. WebSharper binaries are currently built against F# but they work against F# (.NET 4.0) and F# (.NET 4.5) provided you configure the runtime to redirect the binding:

  <assemblyBinding appliesTo="v4.0.30319" xmlns="urn:schemas-microsoft-com:asm.v1">
    <assemblyIdentity name="FSharp.Core" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
    <bindingRedirect oldVersion="" newVersion="" />

I think if you use VS 2011 Beta then the default templates will target 4.5 and contain this redirect. If you use VS 2010, everything will default to 4.0 and will require modification manually.

If the development server does not have FSharp.Core installed in the GAC, you will also need to make sure FSharp.Core makes it into the bin folder of your web app.

By on 5/25/2012 3:10 PM ()

Thank you

By on 5/26/2012 12:13 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us
Built with WebSharper