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 Github 问题中列出了多个功能请求,作为问题 #47 and #54