protobuf-net.Reflection 3.4.40

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
802
protobuf-net.Grpc.Reflection
Package Description
34
ProtoBufJsonConverter
Convert a protobuf message to a JSON string or object (and back) using the proto definition file.
32
protobuf-net.Grpc.Reflection
Generates .proto schemas from code-first gRPC contracts, and implements the gRPC reflection service
29
protobuf-net.Grpc.Reflection
Package Description
29
protobuf-net.Grpc.Reflection
Package Description
28
ProtoBufJsonConverter
Convert a protobuf message to a JSON string or object (and back) using the proto definition file.
28
protobuf-net.Grpc.Reflection
Package Description
27
protobuf-net.Grpc.Reflection
Package Description
26
ProtoBufJsonConverter
Convert a protobuf message to a JSON string or object (and back) using the proto definition file.
26
protobuf-net.Grpc.Reflection
Package Description
25
ProtoBufJsonConverter
Convert a protobuf message to a JSON string (and back) using the proto definition file.
25
ProtoBufJsonConverter
Convert a protobuf message to a JSON string or object (and back) using the proto definition file.
25
protobuf-net.Grpc.Reflection
Package Description
24

.NET Framework 4.6.2

.NET Standard 2.0

Version Downloads Last updated
3.4.40 11 10/22/2026
3.4.30 28 09/20/2026
3.4.29 25 09/20/2026
3.4.28 23 09/20/2026
3.4.21 25 09/20/2026
3.4.19 21 09/20/2026
3.4.14 22 09/20/2026
3.4.0 31 09/20/2026
3.3.21 23 09/20/2026
3.3.8 22 09/20/2026
3.3.0 22 09/20/2026
3.2.52 19 09/20/2026
3.2.46 19 09/20/2026
3.2.12 799 09/15/2026
3.2.8 26 09/20/2026
3.2.0 24 09/20/2026
3.1.33 25 09/20/2026
3.1.25 22 09/20/2026
3.1.22 21 09/20/2026
3.1.17 20 09/20/2026
3.0.101 20 09/20/2026
3.0.73 22 09/20/2026
3.0.62 24 09/20/2026
3.0.52 23 09/20/2026
3.0.29 21 09/20/2026
3.0.27 25 09/20/2026
3.0.24 23 09/20/2026
3.0.21 31 09/20/2026
3.0.0 22 09/20/2026
3.0.0-alpha.155 24 09/20/2026
3.0.0-alpha.154 21 09/20/2026
3.0.0-alpha.152 21 09/20/2026
3.0.0-alpha.150 23 09/20/2026
3.0.0-alpha.143 22 09/20/2026
3.0.0-alpha.128 29 09/20/2026
3.0.0-alpha.122 22 09/20/2026
3.0.0-alpha.103 30 09/20/2026
3.0.0-alpha.91 25 09/20/2026
2.3.17 30 09/20/2026
2.3.16 25 09/20/2026
1.0.10 19 09/20/2026
1.0.8 26 09/20/2026
1.0.6 17 09/20/2026
1.0.2 19 09/20/2026
1.0.0 20 09/20/2026
0.9.1-alpha 20 09/20/2026
0.9.0 30 09/20/2026