protobuf-net.Reflection 3.4.0

protobuf-net.Reflection

The .proto schema tooling behind protobuf-net, as a library: parse proto2/proto3 schemas into a FileDescriptorSet, inspect or manipulate the descriptors, and generate C# or VB source from them.

var set = new FileDescriptorSet();
set.AddImportPath(".");
set.Add("person.proto", includeInOutput: true);
set.Process();

foreach (var file in CSharpCodeGenerator.Default.Generate(set))
{
    Console.WriteLine(file.Name);
    Console.WriteLine(file.Text);
}

The common imports (google/protobuf/*.proto and friends) are embedded, so they resolve without being on disk. This is the same code generation used by the protogen command-line tool and by protobuf-net.dev; if you just want generated types, prefer one of those, or the build-time generation described below.

More

Showing the top 20 packages that depend on protobuf-net.Reflection.

Packages Downloads
Pulsar.Client
.NET client library for Apache Pulsar
7
Pulsar.Client
.NET client library for Apache Pulsar
25

.NET Framework 4.6.2

.NET Standard 2.0

Version Downloads Last updated
3.4.30 1 10/02/2026
3.4.29 1 10/01/2026
3.4.28 1 10/01/2026
3.4.21 1 09/07/2026
3.4.19 2 08/28/2026
3.4.14 2 08/28/2026
3.4.0 1 08/28/2026
3.3.21 2 08/28/2026
3.3.8 3 08/12/2026
3.3.0 3 08/12/2026
3.2.52 6 04/18/2026
3.2.46 7 04/18/2026
3.2.12 25 04/16/2026
3.2.8 6 04/18/2026
3.2.0 7 04/17/2026
3.1.33 7 04/17/2026
3.1.25 7 04/18/2026
3.1.22 7 04/17/2026
3.1.17 7 04/17/2026
3.0.101 7 04/17/2026
3.0.73 7 04/17/2026
3.0.62 7 04/17/2026
3.0.52 7 04/17/2026
3.0.29 7 04/17/2026
3.0.27 7 04/17/2026
3.0.24 7 04/17/2026
3.0.21 7 04/17/2026
3.0.0 7 04/17/2026
3.0.0-alpha.155 7 04/17/2026
3.0.0-alpha.154 7 04/17/2026
3.0.0-alpha.152 7 04/17/2026
3.0.0-alpha.150 7 04/17/2026
3.0.0-alpha.143 7 04/17/2026
3.0.0-alpha.128 7 04/17/2026
3.0.0-alpha.122 7 04/17/2026
3.0.0-alpha.103 7 04/17/2026
3.0.0-alpha.91 7 04/17/2026
2.3.17 6 04/17/2026
2.3.16 7 04/17/2026
1.0.10 7 04/17/2026
1.0.8 7 04/17/2026
1.0.6 7 04/17/2026
1.0.2 7 04/18/2026
1.0.0 7 04/17/2026
0.9.1-alpha 7 04/18/2026
0.9.0 7 04/17/2026