Search code examples
f#websharper

WebSharper - No javascript displaying in browser


I have just started to play around with WebSharper an F# web framework. I have been trying the examples provided on Visual Studio but I have noticed that any of the functions annotated with [<Javascript>] do not appear om my browser.

I have checked that javascript is enabled and have checked it on different browsers(chrome, firefox and IE)

Any F#/WebSharper Guru explain what I am doing wrong or have I missed something?


Solution

  • If running in VS 2012, updates to the he Nuget Packet Manager as well as installing the latest update available, in my case(update 4) will solve this problem.

    These updates can be found under Tools -> Extension and Updates -> Updates