Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValLinkagePartialKe(set_onclose) error building without Fable #37

Open
pw242 opened this issue Jan 30, 2022 · 1 comment
Open

ValLinkagePartialKe(set_onclose) error building without Fable #37

pw242 opened this issue Jan 30, 2022 · 1 comment

Comments

@pw242
Copy link

pw242 commented Jan 30, 2022

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.

@Nhowka
Copy link
Owner

Nhowka commented Jan 31, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants