protobuf-net.Protogen 3.4.40

Prefix Reserved
dotnet tool install --global protobuf-net.Protogen --version 3.4.40
                    
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 protobuf-net.Protogen --version 3.4.40
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=protobuf-net.Protogen&version=3.4.40
                    
nuke :add-package protobuf-net.Protogen --version 3.4.40
                    

protobuf-net.Protogen

protogen is a cross-platform .NET global tool that generates C# or VB from .proto schemas, for use with protobuf-net.

dotnet tool install --global protobuf-net.Protogen
protogen --csharp_out=. -I=schemas schemas/person.proto

The calling convention deliberately mirrors protoc, so existing scripts mostly transfer as-is: -IPATH / --proto_path=PATH for imports, --descriptor_set_out=FILE to write a FileDescriptorSet instead of code, --version, --help, and *.proto / **/*.proto inputs. proto2, proto3 and the google/protobuf/*.proto imports are all supported, and the common imports are embedded, so they resolve without being on disk.

protobuf-net-specific generator options are +name=value pairs, for example:

protogen --csharp_out=. +names=original +oneof=enum +services=grpc person.proto

Run protogen --help for the full list.

Same generator, other packagings: build-time generation from <AdditionalFiles> (no tool to install — see working with .proto files), and in-browser at protobuf-net.dev, where nothing leaves your machine.

More

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.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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
3.4.40 220 10/21/2026
3.4.30 788 9/16/2026
3.4.29 142 9/15/2026
3.4.28 121 9/15/2026
3.4.21 671 8/31/2026
3.4.19 231 8/25/2026
3.4.14 219 8/21/2026
3.4.0 182 8/20/2026
3.3.21 203 8/17/2026
3.3.8 231 8/11/2026
3.3.0 141 8/11/2026
3.2.52 17,590 4/11/2025
3.2.46 4,230 1/24/2025
3.2.42 13,089 5/7/2024
3.2.12 11,107 3/4/2023
3.2.8 787 2/27/2023
3.2.0 712 2/20/2023
3.1.33 1,860 1/30/2023
3.1.25 3,318 11/9/2022
3.1.22 2,649 9/21/2022
Loading failed