How to process .proto file with protobuf-net

I started using protobuf-net lib to communicate between some of the programs that I support. I was also able to decode messages from C # to Ruby. My ruby ​​ProtoBuf lib uses the .proto file to generate ruby ​​code. In the interest of making changes to as many places as possible, I would like protobuf-net to use the same .proto file. Looking, although there is a Dll in the protobuf-net folders called ProtoBufGenerator and protobuf exe, but I can not find any instructions if I can make protobuf-net this way.

Is it possible?

+7
c # ruby protocol-buffers protobuf-net
source share
1 answer

Check out Marc Gravell's blog post . You basically install it as a custom build tool for a file in Visual Studio.

+5
source share

All Articles