On Tue, Nov 15, 2016 at 3:12 PM, venkatesu punugupati <
venkatesu.punugup...@gmail.com> wrote:

> https://developers.google.com/protocol-buffers/docs/proto
>
> I am seeing 2 version also in the above link
>
Yes, but C# only supports version 3.


>
> On Tue, Nov 15, 2016 at 5:34 PM Feng Xiao <xiaof...@google.com> wrote:
>
>> On Tue, Nov 15, 2016 at 2:33 PM, venkatesu punugupati <
>> venkatesu.punugup...@gmail.com> 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 <xiaof...@google.com> wrote:
>>
>> On Tue, Nov 15, 2016 at 1:19 PM, venkatesu punugupati <
>> venkatesu.punugup...@gmail.com> 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 <xiaof...@google.com> wrote:
>>
>> On Tue, Nov 15, 2016 at 11:51 AM, venkatesu punugupati <
>> venkatesu.punugup...@gmail.com> 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 protobuf+unsubscr...@googlegroups.com.
>> To post to this group, send email to protobuf@googlegroups.com.
>> 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 protobuf+unsubscr...@googlegroups.com.
>> To post to this group, send email to protobuf@googlegroups.com.
>> 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 protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to