Added `base_namespace` experimental option to `grpc_csharp_plugin` as this has been requested several times by people not using `Grpc.Tools` to generate their code - see https://github.com/grpc/grpc/issues/28663 Notes: - it should not be used with `Grpc.Tools`. That has a different way of handling duplicate proto file names in different directories. Using this option will break those builds. It can only be used on the `protoc` command line. - it uses common code with the `base_namespace` option for C# in `protoc`, which unfortunately has a slightly different name mangling algorithm for converting proto file names to C# camel case names. This only affects files with punctation or numbers in the name. This should not matter unless you are expecting specific file names - See https://protobuf.dev/reference/csharp/csharp-generated/#compiler_options for an explanation of this option |
||
|---|---|---|
| .. | ||
| basenamespace/proto | ||
| deprecated/proto | ||
| simple | ||
| BUILD | ||
| csharp_codegen_base_namespace_test.sh | ||
| csharp_codegen_deprecated_test.sh | ||
| csharp_codegen_simple_test.sh | ||