I'm working on an WASM app built with the Uno Platform, and have added a project reference that has been compiled and points to a DLL.
Now, when compiling, I get the error:
Error: Unhandled Exception: Could not resolve System.Text.Json (1, 1)
at Driver.Resolve(String asm_name, AssemblyKind& kind) (1, 1)
at Driver.Import(String ra, AssemblyKind kind) (1, 1)
...
What can I do to fix this?
According to Jerome Laban,
I've found that adding the missing nuget packages to the Wasm project directly fixes the issue (In my case, adding
System.Text.Json
toStrixMusic.Wasm.csproj
).