Protobuf-net 与 .proto 文件中的一个
Protobuf-net with oneof in .proto file
我正在使用 protobuf-net 的 ProtoGen 工具(版本 1.0.0.280)从 .proto
文件生成 .cs
文件。
但是,使用 oneof
关键字会导致错误:
test.proto:13:3: Expected "required", "optional", or "repeated".
test.proto:13:25: Missing field number.
This question 提到 oneof
是一项新功能,可能未得到普遍支持。
我想我有最新的 ProtoGen 版本,但是是否有更新的(测试版?)支持此功能的版本,或者是否有计划?
我正在使用 protobuf-net 的 ProtoGen 工具(版本 1.0.0.280)从 .proto
文件生成 .cs
文件。
但是,使用 oneof
关键字会导致错误:
test.proto:13:3: Expected "required", "optional", or "repeated".
test.proto:13:25: Missing field number.
This question 提到 oneof
是一项新功能,可能未得到普遍支持。
我想我有最新的 ProtoGen 版本,但是是否有更新的(测试版?)支持此功能的版本,或者是否有计划?