OmniRelay.Codegen.Generator 0.4.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package OmniRelay.Codegen.Generator --version 0.4.0
                    
NuGet\Install-Package OmniRelay.Codegen.Generator -Version 0.4.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="OmniRelay.Codegen.Generator" Version="0.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OmniRelay.Codegen.Generator" Version="0.4.0" />
                    
Directory.Packages.props
<PackageReference Include="OmniRelay.Codegen.Generator" />
                    
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 OmniRelay.Codegen.Generator --version 0.4.0
                    
#r "nuget: OmniRelay.Codegen.Generator, 0.4.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 OmniRelay.Codegen.Generator@0.4.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=OmniRelay.Codegen.Generator&version=0.4.0
                    
Install as a Cake Addin
#tool nuget:?package=OmniRelay.Codegen.Generator&version=0.4.0
                    
Install as a Cake Tool

OmniRelay.Codegen.Protobuf.Generator

OmniRelay.Codegen.Protobuf.Generator is a Roslyn incremental generator that consumes protobuf descriptor sets (.pb) and emits OmniRelay dispatcher registration helpers, service interfaces, and typed clients during compilation.

Getting Started

<ItemGroup>
  <PackageReference Include="OmniRelay.Codegen.Protobuf.Generator" Version="0.*" PrivateAssets="all" />
</ItemGroup>

<ItemGroup>
  <Protobuf Include="Protos/*.proto"
            GrpcServices="None"
            GenerateDescriptorSet="true"
            DescriptorSetOutputPath="$(IntermediateOutputPath)protos/service.pb" />
  <AdditionalFiles Include="$(IntermediateOutputPath)protos/service.pb" />
</ItemGroup>

The generator places output under obj/<tfm>/generated/OmniRelay.Codegen.Generator/ and integrates seamlessly with OmniRelay runtime assemblies for immediate consumption.

See docs/reference/codegen/protobuf.md for a complete walkthrough and tests/OmniRelay.Tests/Projects/ProtobufIncrementalSample for a working sample.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

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
0.4.1 289 11/6/2025
0.4.0 245 11/6/2025
0.3.0-rc.1 211 11/5/2025
0.2.2-rc.2 196 11/4/2025
0.2.2-rc.1 193 11/4/2025
0.2.1-rc.2 211 11/4/2025
0.2.1-rc.1 201 11/4/2025
0.2.0-rc.1 201 11/4/2025

Telemetry-less analyzer packaging; bundles OmniRelay runtime dependencies.