AvroGen.NET.Tool 0.3.12

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global AvroGen.NET.Tool --version 0.3.12                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local AvroGen.NET.Tool --version 0.3.12                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=AvroGen.NET.Tool&version=0.3.12                
nuke :add-package AvroGen.NET.Tool --version 0.3.12                

AvroGen.NET

MSBuild-based tool for generating C# classes from Avro schemas stored in Schema Registry.

Installation

Install the NuGet package:

dotnet add package AvroGen.NET

Usage

Add the following to your project file:

<ItemGroup>
  <AvroGen Include=".">
    <Subject>your-schema-subject</Subject>
    <Version>1</Version>
    <SchemaRegistryUrl>http://localhost:8081</SchemaRegistryUrl>
    <OutputPath>$(MSBuildProjectDirectory)/Generated</OutputPath>
  </AvroGen>
</ItemGroup>

The classes will be generated during build. You can also generate them manually by running:

dotnet build

Configuration

The AvroGen item supports the following metadata:

  • Subject - Schema Registry subject name
  • Version - Schema version (optional, defaults to latest)
  • SchemaRegistryUrl - URL of the Schema Registry
  • OutputPath - Directory where the generated classes will be placed

License

MIT

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
0.5.47 186 1/23/2025
0.5.4 188 12/26/2024
0.3.15 134 12/22/2024
0.3.12 143 12/21/2024
0.2.0 161 12/21/2024
0.1.0 130 12/21/2024