I am trying to use the same .proto file (protobuf) for C # and a C ++ project. My problem is that the C # file requires import and some parameters (protobuf-csharp-port), but the C ++ file does not.
Is it possible to tell the channel to ignore import / parameters in certain circumstances?
Currently, my only way is to create two different .proto files and update them when changes are made.
source
share