I have a .proto file starting with:
edition = "2023";
import "google/protobuf/go_features.proto";
option features.(pb.go).api_level = API_OPAQUE;
option go_package = "...";
option csharp_namespace = "...";
import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";
message Message {
...
}
When trying to generate C# gRPC code for this proto file I get an error message:
google/protobuf/go_features.proto : error : File not found. [/.../....csproj]
proto/proto.proto(3,1): error : Import "google/protobuf/go_features.proto" was not found or had errors. [/.../....csproj]
Compiling protobuf files that don't import go_features.proto seems to work fine.