Reference and links
Use these resources together with the main navigation. For semantics, diagnostics, and architecture, prefer the pages on this site over third-party mirrors.
Quick links
| Resource | Description |
|---|---|
| GitHub — Prism.SourceGenerators | Source, issues, pull requests, CI. |
GitHub Wiki (wiki/ tree) | Short topic notes; not canonical—use this site for depth. |
| GitHub — Prism.SourceGenerators.Docs | This documentation site (Markdown, VitePress, publishing workflow). |
| GitHub — Prism.SourceGenerators.Samples | Runnable Avalonia samples (Prism 8 and 9). |
| DeepWiki | AI-indexed mirror of the generator repo—handy for exploration, not a contract for behaviour or diagnostic text. |
On this site
| Topic | Page |
|---|---|
| Generator topics | Generators |
| PSG diagnostics | Diagnostics reference |
| CI and local build | Build & CI |
| Product vs docs contributions | Contributing |
| Runnable Avalonia samples | Samples |
Repository structure (generator repo)
Core architecture uses a shared generator project plus multiple Roslyn-target projects for package compatibility.
Prism.SourceGenerators/
Prism.SourceGenerators.Roslyn4001/
Prism.SourceGenerators.Roslyn4031/
Prism.SourceGenerators.Roslyn4120/
Prism.SourceGenerators.Roslyn5000/
Prism.SourceGenerators.Core/
Prism.Bcl.Commands/Build and Nuke commands
Typical local workflow from the generator repository root:
bash
dotnet build Prism.SourceGenerators.slnx
dotnet run --project build/_build.csproj -- --target Ci --configuration Release
dotnet run --project build/_build.csproj -- --target Pack --configuration Release --version 0.2.0
dotnet run --project build/_build.csproj -- --target Publish --configuration Release --version 0.2.0 --nuget-api-key <NUGET_API_KEY>CI and quality signals
.NETworkflow badge tracks latest pipeline status onmaster.Testsbadge reports pass/fail/skip counts from the latest run.- Workflows upload
test-results(.trx) artifacts for detailed diagnostics.
README, Wiki, and this site
The product README files (English / 简体中文 / 日本語) and the GitHub Wiki are brief entry points. About this site explains how they relate to this site, which remains the canonical manual.