BlazorNative.Analyzers 0.17.0

dotnet add package BlazorNative.Analyzers --version 0.17.0
                    
NuGet\Install-Package BlazorNative.Analyzers -Version 0.17.0
                    
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="BlazorNative.Analyzers" Version="0.17.0">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BlazorNative.Analyzers" Version="0.17.0" />
                    
Directory.Packages.props
<PackageReference Include="BlazorNative.Analyzers">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
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 BlazorNative.Analyzers --version 0.17.0
                    
#r "nuget: BlazorNative.Analyzers, 0.17.0"
                    
#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 BlazorNative.Analyzers@0.17.0
                    
#: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=BlazorNative.Analyzers&version=0.17.0
                    
Install as a Cake Addin
#tool nuget:?package=BlazorNative.Analyzers&version=0.17.0
                    
Install as a Cake Tool

BlazorNative.Analyzers

Roslyn analyzers enforcing BlazorNative usage rules (BN0xxx): interop-boundary, bridge-async-handler, and mobile-policy diagnostics for BlazorNative app and library code. A development dependency — it ships analyzers only, no runtime assembly.

Where it sits

Your app → BlazorNative.Components → BlazorNative.Renderer → BlazorNative.Runtime → the native shells. Analyzers ride your build alongside that stack and flag misuse before it reaches a device.

What it looks like

warning BN0011: 'new HttpClient()' uses the default socket handler, bypassing
the host bridge. Prefer the HttpClient injected by 'AddBlazorNativeHttp()';
constructing over an explicit handler (e.g. BridgeHttpHandler) stays legal.

The rules' lifecycle is tracked in AnalyzerReleases.*.md (RS2xxx release tracking); IDs are never reused.

Status

Pre-1.0 (0.x): BlazorNative is a proof of concept heading toward a stable release. The rule set may grow between minor versions.

License: MIT · Docs: https://marcelroozekrans.github.io/BlazorNative/

There are no supported framework assets in this 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.17.0 0 9/28/2026
0.16.3 39 9/25/2026
0.16.2 39 9/24/2026
0.16.1 76 9/23/2026
0.16.0 72 9/22/2026
0.15.0 71 9/22/2026
0.14.0 68 9/22/2026
0.13.1 83 9/21/2026
0.13.0 78 9/21/2026
0.12.0 107 8/22/2026
0.11.0 107 8/21/2026
0.10.0 104 8/18/2026
0.9.1 109 8/18/2026
0.8.1 112 8/7/2026
0.8.0 112 7/25/2026
0.5.1 110 7/23/2026
0.5.0 127 7/23/2026
0.4.1 114 7/21/2026
0.4.0 112 7/21/2026
0.3.0 115 7/20/2026
Loading failed