NetWasm.Compiler.Browser
0.15.0
Prefix Reserved
See the version list below for details.
dotnet add package NetWasm.Compiler.Browser --version 0.15.0
NuGet\Install-Package NetWasm.Compiler.Browser -Version 0.15.0
<PackageReference Include="NetWasm.Compiler.Browser" Version="0.15.0" />
<PackageVersion Include="NetWasm.Compiler.Browser" Version="0.15.0" />
<PackageReference Include="NetWasm.Compiler.Browser" />
paket add NetWasm.Compiler.Browser --version 0.15.0
#r "nuget: NetWasm.Compiler.Browser, 0.15.0"
#:package NetWasm.Compiler.Browser@0.15.0
#addin nuget:?package=NetWasm.Compiler.Browser&version=0.15.0
#tool nuget:?package=NetWasm.Compiler.Browser&version=0.15.0
NetWasm.Compiler.Browser
NetWasm.Compiler.Browser provides the virtual-input compiler boundary used by
browser and WebAssembly hosts. Callers supply managed assemblies, references,
WIT documents and source metadata as owned byte arrays; the adapter returns
diagnostics and compiler artifacts without reading arbitrary host paths.
The package carries the closed NetWasm compiler assembly dependency set needed by that adapter. Hosts remain responsible for supplying Roslyn and for enforcing their own memory, time, source-size and capability limits.
Create one BrowserCompilerSession per retained compiler worker and reuse it for
sequential calls. The static BrowserCompiler.Compile entry point remains
available for one-shot compilation.
An O0 compilation can reuse each method's compiled code from the session's last
compilation: set CompilerOptions.CompiledUnits and give
CompilerOptions.IntermediateOutputPath a name for the units (the session keeps
them in memory under that name, never on a file system). A reused method is one
whose inputs and every fact its code was built from still hold. To keep units
beyond the session, store ExportCompiledUnits(name) (for example in IndexedDB)
and pass it to ImportCompiledUnits(name, units) in a later session; units from
another compiler version are not reused. CompiledUnitSummary(name) reports what
the last compilation reused.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.15.2 | 63 | 11/22/2026 |
| 0.15.2-preview.1 | 54 | 11/22/2026 |
| 0.15.1 | 74 | 11/21/2026 |
| 0.15.1-preview.2 | 57 | 11/21/2026 |
| 0.15.0 | 81 | 11/20/2026 |
| 0.15.0-preview.1 | 56 | 11/20/2026 |
| 0.14.2 | 102 | 11/15/2026 |
| 0.14.2-preview.2 | 61 | 11/15/2026 |
| 0.14.1 | 97 | 11/15/2026 |
| 0.14.1-preview.1 | 65 | 11/15/2026 |
| 0.14.0 | 103 | 11/14/2026 |
| 0.14.0-preview.2 | 64 | 11/14/2026 |
| 0.13.0 | 98 | 11/13/2026 |
| 0.13.0-preview.2 | 61 | 11/13/2026 |
| 0.12.2 | 95 | 11/11/2026 |
| 0.12.2-preview.1 | 59 | 11/11/2026 |
| 0.12.1 | 92 | 11/10/2026 |
| 0.12.1-preview.2 | 63 | 11/10/2026 |
| 0.12.0 | 97 | 11/10/2026 |
| 0.12.0-preview.5 | 55 | 11/10/2026 |