-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Is it possible to run fsc-host in WebAssembly?
I'm trying to invoke fsc-host with CompilerHost.getAssembly Options.Default (Inline text) but am hitting the following exception:
System.TypeInitializationException: The type initializer for '<StartupCode$FSharp-Compiler-Service>.$FSharpCheckerResults' threw an exception.
System.NullReferenceException: Object reference not set to an instance of an object.
Googling the error took me to dotnet/fsharp#11966 which I saw you had left a comment on, so I figured you might know something one way or the other 😄
This project got fsc working in the browser a while back but the approach no longer works in .net 7. I was able to make some progress on their approach by copying dlls from the browser cache to the filesystem, but was never able to get fsc to recognize symbols from -r:'d dlls.
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels