JasperFx.SourceGenerator 2.0.0-alpha.9

This is a prerelease version of JasperFx.SourceGenerator.
There is a newer version of this package available.
See the version list below for details.
dotnet add package JasperFx.SourceGenerator --version 2.0.0-alpha.9
                    
NuGet\Install-Package JasperFx.SourceGenerator -Version 2.0.0-alpha.9
                    
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="JasperFx.SourceGenerator" Version="2.0.0-alpha.9">
  <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="JasperFx.SourceGenerator" Version="2.0.0-alpha.9" />
                    
Directory.Packages.props
<PackageReference Include="JasperFx.SourceGenerator">
  <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 JasperFx.SourceGenerator --version 2.0.0-alpha.9
                    
#r "nuget: JasperFx.SourceGenerator, 2.0.0-alpha.9"
                    
#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 JasperFx.SourceGenerator@2.0.0-alpha.9
                    
#: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=JasperFx.SourceGenerator&version=2.0.0-alpha.9&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=JasperFx.SourceGenerator&version=2.0.0-alpha.9&prerelease
                    
Install as a Cake Tool

JasperFx.SourceGenerator

Roslyn source generator for JasperFx OptionsDescription types. Generates IDescribeMyself.ToDescription() implementations at compile time, eliminating runtime reflection on options classes that surface in diagnostic snapshots (CritterWatch, etc.).

Install

<PackageReference Include="JasperFx.SourceGenerator"
                  PrivateAssets="all"
                  OutputItemType="Analyzer"
                  ReferenceOutputAssembly="false" />

Reference it as an analyzer/source-generator only — there's no runtime API. Apply the [GenerateDescription] attribute to a class that implements IDescribeMyself and a ToDescription() method is generated.

Documentation

Full docs at https://jasperfx.net.

Repo: github.com/JasperFx/jasperfx.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETStandard 2.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on JasperFx.SourceGenerator:

Package Downloads
WolverineFx

Build Robust Event Driven Architectures with Simpler Code

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.1 2,477 5/24/2026
2.0.0 44 5/21/2026
2.0.0-rc.3 39 5/21/2026
2.0.0-rc.2 35 5/20/2026
2.0.0-rc.1 31 5/20/2026
2.0.0-alpha.9 34 5/19/2026