RoslynRules.SourceGenerator 1.0.261201.129

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

RoslynRules.SourceGenerator

A build-time source generator for RoslynRules that emits pre-compiled rule delegates so rules execute under Native AOT with no runtime Roslyn compilation and no reflection.

It gathers rule definitions from three front-ends and produces a single RoslynRules.Generated.CompiledRuleProvider : ICompiledRuleProvider, which you hand to Workflow.BindCompiled(...) / Rule.BindCompiled(...) in place of Compile(...):

  1. Assembly attributes — [assembly: CompiledRule(id, parameterName, parameterType, expression)]
  2. Partial rules class — a [RoslynRulesClass] partial class with [Rule] partial methods
  3. JSON files — rule-definition files listed as AdditionalFiles

This is an opt-in package: add a reference only in projects that need the AOT path.

<PackageReference Include="RoslynRules.SourceGenerator" Version="x.y.z"
                  PrivateAssets="all" />

A rule takes exactly one parameter; wrap multiple values in a struct/class.

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

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.261201.129 55 12/1/2026