Hi, Thank you So much for the reply. Actually i have already implemented this approach but in this we need to put the dll but i wanted to avoid this step also. We want to create the filedescriptor from the .pb file.
On Wednesday, May 18, 2016 at 7:10:31 PM UTC+5:30, Benjamin Krämer wrote: > > I had a similar discussion some months ago. What you want is to generate > the TypeRegistry at Runtime. I did this by using the following approach: > > https://groups.google.com/d/msg/protobuf/fnhsS9tVhyc/9pkapOl-AQAJ > > Therefore you don't have to gereate the file descriptors but just use the > ones you already have at runtime. This worked, but needed to also generate > partial classes for the Reflection classes which implement just the > IReflection interface (just containing the Descriptor property). This would > work as general solution, but right now I'm not using it since I found it > better to just have a method in my code to return the FileDescriptors they > are needing to have registered. Since I know all modules I don't have to > rely on reflection. > -- 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.
