refs:
https://github.com/google/protobuf/tree/master/csharp
http://www.bianceng.cn/Programming/extra/201101/23128.htm
使用NuGet 安装库,会自带 tool文件夹中的exe文件,
1)使用protoc.exe生成中间件protobin文件
protoc --descriptor_set_out=addressbook.protobin --include_imports tutorial\addressbook.proto
2)ProtoGen.exe是用来把中间件转生成C#源码
protogen addressbook.protobin