protobuf-net.Reflection 3.4.28

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
protobuf-net.Grpc.Reflection
Package Description
49
protobuf-net.Grpc.Reflection
Generates .proto schemas from code-first gRPC contracts, and implements the gRPC reflection service
3
protobuf-net.Grpc.Reflection
Package Description
2
protobuf-net.Grpc.Reflection
Package Description
1

.NET Framework 4.6.2

.NET Standard 2.0

Version Downloads Last updated
3.4.30 3 09/20/2026
3.4.29 3 09/20/2026
3.4.28 3 09/20/2026
3.4.21 2 09/20/2026
3.4.19 2 09/20/2026
3.4.14 3 09/20/2026
3.4.0 2 09/20/2026
3.3.21 2 09/20/2026
3.3.8 3 09/20/2026
3.3.0 3 09/20/2026
3.2.52 3 09/20/2026
3.2.46 2 09/20/2026
3.2.12 50 09/15/2026
3.2.8 3 09/20/2026
3.2.0 1 09/20/2026
3.1.33 1 09/20/2026
3.1.25 3 09/20/2026
3.1.22 2 09/20/2026
3.1.17 3 09/20/2026
3.0.101 2 09/20/2026
3.0.73 2 09/20/2026
3.0.62 2 09/20/2026
3.0.52 3 09/20/2026
3.0.29 3 09/20/2026
3.0.27 3 09/20/2026
3.0.24 2 09/20/2026
3.0.21 3 09/20/2026
3.0.0 3 09/20/2026
3.0.0-alpha.155 3 09/20/2026
3.0.0-alpha.154 3 09/20/2026
3.0.0-alpha.152 2 09/20/2026
3.0.0-alpha.150 2 09/20/2026
3.0.0-alpha.143 2 09/20/2026
3.0.0-alpha.128 3 09/20/2026
3.0.0-alpha.122 2 09/20/2026
3.0.0-alpha.103 2 09/20/2026
3.0.0-alpha.91 2 09/20/2026
2.3.17 4 09/20/2026
2.3.16 2 09/20/2026
1.0.10 2 09/20/2026
1.0.8 3 09/20/2026
1.0.6 2 09/20/2026
1.0.2 2 09/20/2026
1.0.0 1 09/20/2026
0.9.1-alpha 1 09/20/2026
0.9.0 2 09/20/2026