Alex Alifimoff
Alex Alifimoff

Reputation: 1849

Using Google.Protobuf in .NET 4.6 project

I'm relatively new to C#, .NET and protobuf, so I'm not totally up to snuff on what is possible in terms of backwards compatibility. I'm working a project targeting .NET 4.6.1, and I'd like to use Google's C# protobuf implementation, but when I try to install through the Nuget Package Manager, I get told that I can't install the package because I'm targeting 4.6.1 and protobuf appears to be built for 4.5.

What are my options? I'd looked into using protobuf-net, but I unfortunately have proto3 .proto files, and the proto compiler included in protobuf-net doesn't appear to support proto3.

Upvotes: 3

Views: 5346

Answers (1)

user5093161
user5093161

Reputation:

Here is the example on Git which uses command line.

Git Protocol Buffer in C#

You can add Protocol buffer namespace from Here on nuget

Protocol Buffer

Upvotes: 2

Related Questions