简体   繁体   English

protobuf-csharp-port这些工具最适合今天使用什么版本?

[英]protobuf-csharp-port what version(s) of these tools are best to use today?

On a Mac, using Mono 2.6, and wanting to get started with protobuf-csharp-port. 在Mac上,使用Mono 2.6,并希望开始使用protobuf-csharp-port。

I just compiled protoc from protobuf-2.3.0 from google. 我刚刚从Google的protobuf-2.3.0编译了protoc。 Or should I use protobuf-2.4.0 which recently came out? 还是应该使用最近发布的protobuf-2.4.0? Also for protobuf-csharp-port should I use the Download of 0.9.1 (May 2010) or go ahead and clone the Git master branch? 同样对于protobuf-csharp-port,我应该使用0.9.1下载(2010年5月)还是继续克隆Git master分支?

So, looks like successfully compiled the AddressBook tutorial using 2.3.0 + 0.9.1. 因此,看起来好像使用2.3.0 + 0.9.1成功编译了AddressBook教程。 Wanting to know if it's advisable to go with protoc 2.4.0 + git master? 是否想建议使用protoc 2.4.0 + git master?

Thanks in advance and looking forward to digging in to protobuf-csharp-port. 在此先感谢您,并期待深入探究protobuf-csharp-port。 Alex 亚历克斯

I can't say I've used protobuf-csharp-port on a Mac. 我不能说我在Mac上使用过protobuf-csharp-port。 It's probably best to go with the 2.3.0 build of protobuf as that's the version of protoc I use on Windows. 这也可能是最好的去与2.3.0构建的protobuf的因为这是我在Windows上使用protoc的版本。

I would suggest using the latest version of protobuf-csharp-port on github; 我建议在github上使用最新版本的protobuf-csharp-port; that includes a few new features in ProtoGen such as automatically calling protoc for you - although it assumes protoc.exe, so you'll need to tinker with it to call the Mac version. 其中包括ProtoGen的一些新功能,例如自动为您调用protoc-尽管它假定protoc.exe,所以您需要对其进行修补才能调用Mac版本。 You can also specify various of the generation options from the command line instead of "polluting" an otherwise portable .proto file, which is nice. 您还可以从命令行指定各种生成选项,而不是“污染”原本可移植的.proto文件,这很好。 Unfortunately I don't have documentation for that yet, but feel free to ask for information on any specific bit :) 不幸的是,我还没有相关的文档,但是随时可以询问任何特定的信息:)

The github repository also has support for the "lite" runtime, if that's useful to you. github存储库还支持“精简版”运行时,如果这对您有用的话。 That's a reasonably recent addition which hasn't had as much usage as the rest yet, just to warn you. 这是最近才出现的合理补充,它并没有像其余的那样被广泛使用,只是为了警告您。 I don't know of any problems, but just be aware of its recentness :) 我不知道有什么问题,但是请注意它的最新性:)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 protobuf的-CSHARP端口 - protobuf-csharp-port protobuf-csharp-port 和 protobuf-net 如何选择 - How to choose between protobuf-csharp-port and protobuf-net 如何在 Windows 下在 Mono 上构建 protobuf-csharp-port - How to build protobuf-csharp-port on Mono under Windows 有没有办法将protobuf-csharp-port生成的类与servicestack.ormlite一起使用? - Is there way to use protobuf-csharp-port generated classes with servicestack.ormlite? protobuf-csharp-port是否支持Windows RT? - Does protobuf-csharp-port support Windows RT? 是否可以在protobuf-csharp-port中检测消息类型? - Is it possible to detect message type in protobuf-csharp-port? 使用带有protobuf-csharp-port的文件记录和重播人类可读的protobuf消息 - Record and replay human-readable protobuf messages using a file with protobuf-csharp-port protobuf-csharp-port-来自文件的流记录有点像LINQ-to-XML中的轴函数 - protobuf-csharp-port - streaming records from a file a bit like an axis function in LINQ-to-XML 协议缓冲区-protobuf-csharp-port:是否存在等效的JAVA API调用CodedInputStream.getBytesUntilLimit()? - Protocol Buffers - protobuf-csharp-port : Does the equivalent of JAVA API call CodedInputStream.getBytesUntilLimit() exist? 如果条件是csharp,最好的方法是什么? - What is the best way to do if condition in csharp?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM