NetWasm.Compiler.Browser 0.15.2

Prefix Reserved
dotnet add package NetWasm.Compiler.Browser --version 0.15.2
                    
NuGet\Install-Package NetWasm.Compiler.Browser -Version 0.15.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NetWasm.Compiler.Browser" Version="0.15.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NetWasm.Compiler.Browser" Version="0.15.2" />
                    
Directory.Packages.props
<PackageReference Include="NetWasm.Compiler.Browser" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add NetWasm.Compiler.Browser --version 0.15.2
                    
#r "nuget: NetWasm.Compiler.Browser, 0.15.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package NetWasm.Compiler.Browser@0.15.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=NetWasm.Compiler.Browser&version=0.15.2
                    
Install as a Cake Addin
#tool nuget:?package=NetWasm.Compiler.Browser&version=0.15.2
                    
Install as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
Loading failed