JasperFx.Events.SourceGenerator 2.0.0

dotnet add package JasperFx.Events.SourceGenerator --version 2.0.0
                    
NuGet\Install-Package JasperFx.Events.SourceGenerator -Version 2.0.0
                    
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.Events.SourceGenerator" Version="2.0.0">
  <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.Events.SourceGenerator" Version="2.0.0" />
                    
Directory.Packages.props
<PackageReference Include="JasperFx.Events.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.Events.SourceGenerator --version 2.0.0
                    
#r "nuget: JasperFx.Events.SourceGenerator, 2.0.0"
                    
#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.Events.SourceGenerator@2.0.0
                    
#: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.Events.SourceGenerator&version=2.0.0
                    
Install as a Cake Addin
#tool nuget:?package=JasperFx.Events.SourceGenerator&version=2.0.0
                    
Install as a Cake Tool

JasperFx.Events.SourceGenerator

Roslyn source generator for fast aggregate projections in the Critter Stack event-store family. Produces zero-reflection projection metadata at compile time so Marten / Polecat projection registration doesn't pay the runtime cost of scanning aggregate types.

Used by JasperFx.Events's SingleStreamProjection<TDoc, TId> and MultiStreamProjection<TDoc, TId> registrations.

Install

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

Reference it as an analyzer/source-generator only — there's no runtime API. Generated code is invisible to consumers and shows up alongside your aggregate types under the JasperFx.Events.Generated namespace.

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

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on JasperFx.Events.SourceGenerator:

Repository Stars
JasperFx/marten
.NET Transactional Document DB and Event Store on PostgreSQL
Version Downloads Last Updated
2.0.0 0 5/21/2026
2.0.0-rc.3 0 5/21/2026
2.0.0-rc.2 247 5/20/2026
2.0.0-rc.1 31 5/20/2026
2.0.0-alpha.13 173 5/19/2026
2.0.0-alpha.12 113 5/19/2026
2.0.0-alpha.9 155 5/19/2026
2.0.0-alpha.8 189 5/19/2026
2.0.0-alpha.7 75 5/19/2026
2.0.0-alpha.6 105 5/19/2026
2.0.0-alpha.5 72 5/18/2026
2.0.0-alpha.4 58 5/18/2026
2.0.0-alpha.3 69 5/18/2026
2.0.0-alpha.2 1,245 5/12/2026
2.0.0-alpha.1 262 5/10/2026
1.5.0 909 4/9/2026
1.4.0 1,574 3/27/2026
1.3.0 317 3/23/2026
1.2.0 420 3/8/2026
1.1.0 104 3/8/2026
Loading failed