On Tue, Nov 15, 2016 at 2:33 PM, venkatesu punugupati < [email protected]> wrote:
> I am using 2..please let me know if it works in that way.. > Protobuf only officially supports C# after 3.0.0. You are probably using some other C# implementations. > > On Tue, Nov 15, 2016 at 5:11 PM Feng Xiao <[email protected]> wrote: > >> On Tue, Nov 15, 2016 at 1:19 PM, venkatesu punugupati < >> [email protected]> wrote: >> >> Thanks for the response.. >> Let me add more details to get clear.. >> A.proto , B.Proto are two proto files >> B.proto imports A.proto then if generate the code then you will get B.cs >> containing all the types present A also in the same file. >> >> What version of protobuf are you using? I believe protoc should already >> be putting classes in B.cs and A.cs separately. >> >> >> But i like to have A.cs as separate file and B.cs as separate file but >> B.cs refers the types present in A.cs >> >> Please let me know if this is possible. >> >> >> On Tue, Nov 15, 2016 at 3:44 PM, Feng Xiao <[email protected]> wrote: >> >> On Tue, Nov 15, 2016 at 11:51 AM, venkatesu punugupati < >> [email protected]> wrote: >> >> I am feeling that, there should be option to generate code files inline >> with proto file inclusion. >> For example, B.proto imports A.proto then code generation should be into >> two files A.cs & B.cs. >> is this type feature already available? >> >> There isn't such a feature. Both .proto files must be listed explicitly >> on the protoc command line. >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Protocol Buffers" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at https://groups.google.com/group/protobuf. >> For more options, visit https://groups.google.com/d/optout. >> >> >> >> >> >> -- >> Regards, >> Venkatesu Punugupati >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Protocol Buffers" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at https://groups.google.com/group/protobuf. >> For more options, visit https://groups.google.com/d/optout. >> >> -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.
