Elmish.Bridge icon indicating copy to clipboard operation
Elmish.Bridge copied to clipboard

ValLinkagePartialKe(set_onclose) error building without Fable

Open pw242 opened this issue 3 years ago • 1 comments

Building the client to .NET (i.e. not with Fable) I get an error:

The module/namespace 'Types' from compilation unit 'Browser.WebSocket' did not contain the val 'ValLinkagePartialKe(set_onclose)'

|> Program.withBridgeConfig ( Bridge.endpoint BridgeShared.endpoint |> Bridge.withMapping (ProjMgmt.Index.ServerMsg >> Users.Secure.InnerMsg) )

I can workaround with an #if FABLE_COMPILER guard. I like to compile without Fable to get intellisense working in Visual Studio. Once I do the proper build it works fine.

pw242 avatar Jan 30 '22 15:01 pw242

It's a little experimental, but can you test the package Elmish.Bridge.DotNetClient? The Fable one only works in the browser, but this one should work for desktop apps.

Nhowka avatar Jan 31 '22 12:01 Nhowka