SourceGenerator Framework
PreviewA typed framework for building incremental C# source generators.
analyzers code-generation compile-time compiler csharp developer-experience developer-tools devex dotnet incremental-generator metaprogramming nuget roslyn source-generator source-generators testing
Overview
A strongly typed framework for building, testing, and maintaining incremental C# source generators with Roslyn. Includes structured code generation, attribute data models, type libraries, and a step-cache test runner for verifying incremental behaviour.
From the repository: A strongly typed framework for building, testing, and maintaining incremental C# source generators with Roslyn.
Packages
| Package | Stable | Prerelease | Downloads |
|---|---|---|---|
| Purview.SourceGeneratorFramework | — | 1.0.0-prerelease.43 | — |
| Purview.SourceGeneratorFramework.Testing | — | 1.0.0-prerelease.43 | — |
| Purview.SourceGeneratorFramework.Testing.TUnit | — | 1.0.0-prerelease.43 | — |
Install
dotnet add package Purview.SourceGeneratorFramework