JasperFx.SourceGeneration 2.0.0-alpha.2

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

JasperFx.SourceGeneration

Roslyn source generator for JasperFx CLI command discovery. Generates a compile-time command registry from IJasperFxCommand<T> implementations in the application assembly — eliminating runtime assembly scanning for dotnet run -- <command> lookups.

Used by hosts that want fast cold-start CLI invocations (no reflection-based command discovery).

Install

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

Reference it as an analyzer/source-generator only — there's no runtime API. The generated registry is consumed transparently by JasperFx.CommandLine.

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 (2)

Showing the top 2 NuGet packages that depend on JasperFx.SourceGeneration:

Package Downloads
WolverineFx

Build Robust Event Driven Architectures with Simpler Code

Portlogics.WolverineFx

Build Robust Event Driven Architectures with Simpler Code

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on JasperFx.SourceGeneration:

Repository Stars
JasperFx/marten
.NET Transactional Document DB and Event Store on PostgreSQL
JasperFx/wolverine
Supercharged .NET server side development!
Version Downloads Last Updated
2.0.0-rc.2 0 5/20/2026
2.0.0-rc.1 0 5/20/2026
2.0.0-alpha.9 20 5/19/2026
2.0.0-alpha.6 147 5/19/2026
2.0.0-alpha.5 140 5/19/2026
2.0.0-alpha.4 72 5/19/2026
2.0.0-alpha.3 40 5/19/2026
2.0.0-alpha.2 7,355 5/12/2026
2.0.0-alpha.1 243 5/10/2026
1.1.0 338,211 4/9/2026
1.0.0 103 3/31/2026