Sorry - "this repository" was vague - I meant https://github.com/google/protobuf
The corresponding NuGet packages are Google.Protobuf and Google.Protobuf.Tools. Jon On Wednesday, 16 November 2016 07:04:06 UTC, Jon Skeet wrote: > > On Tuesday, 15 November 2016 21:20:01 UTC, venkatesu punugupati 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. >> > > No, that's not true. B.cs will only contain the types declared in B.proto. > > >> 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 >> > > And that's what already happens. > > If you're seeing something else, then please: > > - Give a complete example, with two proto files and the exact command line > you're using to generate the code > - Make sure you're using the code related to this repository - there are a > few other C# protobuf ports around > > Jon > > -- 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.
