Skip to main content
.NETStandard2.0

UI components, controls, dialogs, behaviors, and helpers for Avalonia applications. Includes reactive patterns, cross-platform support (desktop, mobile, browser), and source generators.

Published
Apr 15, 2026
6mo ago
Total Downloads
28.8K
28,764

Install

dotnet add package Zafiro.Avalonia.Generators --version 51.6.2
ProductVersions
.NET Standard
netstandard2.0

README

Zafiro.Avalonia.Generators

Source generator for the Zafiro.Avalonia ecosystem.

What it does:

  • Registers ViewModel-View pairs by naming convention and x:DataType discovery
  • Emits DI registration helpers for section navigation

How to use (NuGet):

  • dotnet add package Zafiro.Avalonia.Generators
  • The package includes a buildTransitive props that exposes **/*.axaml as AdditionalFiles automatically.

How to use (local dev in this repo):

  • Add a ProjectReference to src/Zafiro.Avalonia.Generators with OutputItemType="Analyzer" and ReferenceOutputAssembly="false".

Changes from Previous Version

No structural changes between v51.5.0 and v51.6.2.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.