Closed
Description
We would like to use the OSI with csharp environment. But compiling classes for c# seems to be only supported for proto3. When compiling this version (changed the syntax variable to proto3) I get following errors:
osi_common.proto:14:14: Explicit 'optional' labels are disallowed in the Proto3
syntax. To define 'optional' fields in Proto3, simply remove the 'optional' labe
l, as fields are 'optional' by default.
for each definition.
then I removed the invalid optional statements.
and then following error occurs:
osi_common.proto: Explicit default values are not allowed in proto3.
by removing also the explicit values I was able to generete the class.