When using extra_protoc_args = ["--csharp_opt=base_namespace="],, the build fails.
I think that because the plugin expects the .cs file to be generated at the root of the staging folder, but base_namespace puts it into a folder hierarchy.
Log Output
BUILD.bazel:23:21: output '_rpg_premerge_csharp_proto/Test.cs' was not created
BUILD.bazel:23:21: Compiling protoc outputs for csharp_plugin plugin on target @//:csharp_proto failed: not all outputs were created or valid
Issue Description
When using
extra_protoc_args = ["--csharp_opt=base_namespace="],
, the build fails.I think that because the plugin expects the
.cs
file to be generated at the root of the staging folder, butbase_namespace
puts it into a folder hierarchy.Log Output
rules_proto_grpc Version
4.4.0
Bazel Version
6.3.2
OS
Mac OS
Link to Demo Repo
No response
WORKSPACE Content
BUILD Content
Proto Content
Any Other Content
No response