• Jon Skeet's avatar
    Change where we rename Descriptor.cs to DescriptorProtoFile.cs. · 3c74a0c9
    Jon Skeet authored
    We now do this in protoc instead of the generation simpler.
    
    Benefits:
    - Generation script is simpler
    - Detection is simpler as we now only need to care about one filename
    - The embedded descriptor knows itself as "google/protobuf/descriptor.proto" avoiding dependency issues
    
    This PR also makes the "invalid dependency" exception clearer in terms of expected and actual dependencies.
    3c74a0c9
generate_protos.sh 2.56 KB