Home Forums Support Protobuf – How to create a FileDescriptor object from a Descriptor file

Viewing 1 post (of 1 total)
  • Author
  • #4386

    We created a Descriptor file from Example.proto file using the below command.

    .\protoc.exe –proto_path=D:\ExampleProject\ –include_imports D:\ExampleProject\Example.Proto –descriptor_set_out=D:\ExampleProject\Example.pb

    We want to read this file and create FileDescriptorSet object in C#. But both FileDescriptorSet and FileDescriptorProto are internal classes.

    Please let me know how to create FileDescriptor object from this Example.pb file.

    Thanks & Regards

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.