This page describes the end-to-end path from a XAML file in a project to generated C# and runtime registration artifacts.
The compiler host discovers:
This work is done before framework-specific semantics are applied so the host can build a stable view of the project graph.
Documents are parsed into a framework-agnostic structure and then enriched with higher-level features such as binding, selector, property-element, include, and markup semantics.
The selected framework profile applies framework-specific meaning. For Avalonia that includes:
The emitter produces generated C# and the related runtime registration data used by hot reload, hot design, and runtime fallback services.
The same semantic models are also reused by the language service, which is why editor navigation and diagnostics can stay aligned with compiler behavior.
XamlToCSharpGenerator.CoreXamlToCSharpGenerator.CompilerXamlToCSharpGenerator.AvaloniaXamlToCSharpGenerator.Generator