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
ProtoBufJsonConverter
Convert a protobuf message to a JSON string or object (and back) using the proto definition file.
22
ProtoBufJsonConverter
Convert a protobuf message to a JSON string or object (and back) using the proto definition file.
21
ProtoBufJsonConverter
Convert a protobuf message to a JSON string or object (and back) using the proto definition file.
19
ProtoBufJsonConverter
Convert a protobuf message to a JSON string or object (and back) using the proto definition file.
17
ProtoBufJsonConverter
Convert a protobuf message to a JSON string or object (and back) using the proto definition file.
16
ProtoBufJsonConverter
Convert a protobuf message to a JSON string or object (and back) using the proto definition file.
15
ProtoBufJsonConverter
Convert a protobuf message to a JSON string or object (and back) using the proto definition file.
14
ProtoBufJsonConverter
Convert a protobuf message to a JSON string or object (and back) using the proto definition file.
13
ProtoBufJsonConverter
Convert a protobuf message to a JSON string or object (and back) using the proto definition file.
12
ProtoBufJsonConverter
Convert a protobuf message to a JSON string (and back) using the proto definition file.
10
ProtoBufJsonConverter
Convert a protobuf message to a JSON string or object (and back) using the proto definition file.
9

.NET Framework 4.6.2

.NET Standard 2.0

Version Downloads Last updated
3.4.40 8 10/25/2026
3.4.30 14 09/20/2026
3.4.29 10 10/05/2026
3.4.28 15 10/04/2026
3.4.21 9 09/02/2026
3.4.19 12 08/31/2026
3.4.14 13 08/24/2026
3.4.0 16 08/22/2026
3.3.21 14 08/19/2026
3.3.8 8 08/11/2026
3.3.0 18 08/11/2026
3.2.52 17 06/24/2026
3.2.46 17 07/17/2026
3.2.12 15 07/05/2026
3.2.8 18 06/23/2026
3.2.0 22 06/23/2026
3.1.33 11 07/13/2026
3.1.25 17 07/16/2026
3.1.22 24 06/29/2026
3.1.17 21 07/05/2026
3.0.101 15 06/24/2026
3.0.73 22 07/05/2026
3.0.62 19 07/16/2026
3.0.52 20 07/13/2026
3.0.29 16 06/27/2026
3.0.27 19 07/11/2026
3.0.24 24 07/11/2026
3.0.21 17 07/07/2026
3.0.0 22 06/23/2026
3.0.0-alpha.155 12 07/11/2026
3.0.0-alpha.154 18 07/06/2026
3.0.0-alpha.152 14 06/29/2026
3.0.0-alpha.150 16 06/23/2026
3.0.0-alpha.143 16 07/11/2026
3.0.0-alpha.128 14 07/12/2026
3.0.0-alpha.122 15 07/06/2026
3.0.0-alpha.103 18 07/05/2026
3.0.0-alpha.91 14 07/12/2026
2.3.17 20 07/09/2026
2.3.16 18 07/13/2026
1.0.10 15 06/23/2026
1.0.8 19 06/23/2026
1.0.6 16 06/23/2026
1.0.2 17 06/23/2026
1.0.0 16 06/23/2026
0.9.1-alpha 15 06/23/2026
0.9.0 24 06/23/2026