Skip to content

WasmWrangler/WasmWrangler

Repository files navigation

The MIT License Build Status

WasmWrangler

WasmWrangler is a NuGet package that enables your C# application to be run in a browser. Think of it as the Vanilla JS for C#.

Building

If the version of Mono Wasm SDK isn't available before you start building you'll likely receive an error about "Unable to resolve WebAssembly.Bindings.dll".

Rebuilding might solve the problem but there is a build script provided that will ensure the Mono Wasm SDK is present:

dotnet msbuild build/WasmEnsureSDKAvailable.proj

This builds the WasmWrangler assembly and calls the WasmEnsureSDKAvailable target which will download the SDK if it's not available on your machine.