protobuf-net.Protogen
3.4.14
Prefix Reserved
dotnet tool install --global protobuf-net.Protogen --version 3.4.14
dotnet new tool-manifest
dotnet tool install --local protobuf-net.Protogen --version 3.4.14
#tool dotnet:?package=protobuf-net.Protogen&version=3.4.14
nuke :add-package protobuf-net.Protogen --version 3.4.14
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 | Versions 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. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.4.14 | 0 | 8/21/2026 |
| 3.4.0 | 65 | 8/20/2026 |
| 3.3.21 | 137 | 8/17/2026 |
| 3.3.8 | 181 | 8/11/2026 |
| 3.3.0 | 99 | 8/11/2026 |
| 3.2.52 | 15,244 | 4/11/2025 |
| 3.2.46 | 4,171 | 1/24/2025 |
| 3.2.42 | 11,598 | 5/7/2024 |
| 3.2.12 | 11,046 | 3/4/2023 |
| 3.2.8 | 759 | 2/27/2023 |
| 3.2.0 | 681 | 2/20/2023 |
| 3.1.33 | 1,800 | 1/30/2023 |
| 3.1.25 | 3,278 | 11/9/2022 |
| 3.1.22 | 2,614 | 9/21/2022 |
| 3.1.17 | 4,714 | 6/26/2022 |
| 3.0.101 | 6,899 | 3/19/2021 |
| 3.0.73 | 11,807 | 12/2/2020 |
| 3.0.62 | 5,663 | 11/13/2020 |
| 3.0.52 | 1,191 | 10/3/2020 |
| 3.0.29 | 1,627 | 7/8/2020 |