Headless.NET.Sdk.BlazorWebAssembly
0.2.0
<Sdk Name="Headless.NET.Sdk.BlazorWebAssembly" Version="0.2.0" />
#:sdk Headless.NET.Sdk.BlazorWebAssembly@0.2.0
Headless.NET.Sdk.BlazorWebAssembly
The Blazor WebAssembly wrapper: Microsoft.NET.Sdk.BlazorWebAssembly plus the complete Headless build baseline. It is available to any compatible .NET project and is not specific to Headless Framework.
Use
Headless does not restrict TargetFramework; Microsoft.NET.Sdk.BlazorWebAssembly and the installed targeting packs or workloads determine compatibility.
<Project Sdk="Headless.NET.Sdk.BlazorWebAssembly/x.y.z">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>
</Project>
Direct PackageReference consumption uses Microsoft.NET.Sdk.BlazorWebAssembly:
<PackageReference Include="Headless.NET.Sdk.BlazorWebAssembly" Version="x.y.z" PrivateAssets="all" />
Additional-SDK, global.json MSBuild SDK resolution, and .NET 10 #:sdk Headless.NET.Sdk.BlazorWebAssembly@x.y.z consumption are also supported. See the family consumption reference.
For a .NET 10 file app, this wrapper preserves the Headless Blazor identity over the base Microsoft SDK. A single source file cannot author Blazor project items, and the specialized SDK assumes browser workload references and Native AOT behavior that the generated file project cannot satisfy. Normal Blazor WebAssembly projects retain their specialized Microsoft SDK behavior.
Blazor WebAssembly contract
The package sets HeadlessSdkProjectType=BlazorWebAssembly and defaults IsPackable=false. HeadlessSymbolFormat defaults to none: embedded PDBs would otherwise survive into the browser _framework payload, increasing download size and exposing debug data.
The package preserves the mandatory Headless analyzer infrastructure, configurable banned-API policy, audit, CI, SBOM, and direct-opt-in policies. It is self-contained and ships no buildTransitive assets.
Learn more about Target Frameworks and .NET Standard.
-
- AsyncFixer (= 2.1.0)
- Asyncify (= 0.9.7)
- ErrorProne.NET.CoreAnalyzers (= 0.1.2)
- Meziantou.Analyzer (= 3.0.125)
- Microsoft.CodeAnalysis.BannedApiAnalyzers (= 5.6.0)
- Microsoft.Sbom.Targets (= 4.1.5)
- Microsoft.VisualStudio.Threading.Analyzers (= 18.7.23)
- ReflectionAnalyzers (= 0.3.1)
- Roslynator.Analyzers (= 4.15.0)
- SmartAnalyzers.MultithreadingAnalyzer (= 1.1.31)
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.2.0 | 26 | 8/2/2026 |