I'm trying to do gRpc Transcoding with .NET 7. I'm following the article Here. I'm also referring to the sample implementation here. After I added the proto files annotation.proto and http.proto and include the annotations.proto to the main proto file. I get the error
Rebuild started...
1>------ Rebuild All started: Project: CacheService, Configuration: Debug Any CPU ------
Restored C:\CarryCase\Venkatesh\M2c\grpc\net7\CacheService\CacheService.csproj (in 40 ms).
1>google/api/annotations.proto : error : File not found.
1>Protos/cache.proto(2,1): error : Import "google/api/annotations.proto" was not found or had errors.
1>Done building project "CacheService.csproj" -- FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
========== Elapsed 00:00.428 ==========
The code for the same is available at here (grpc-transcoding)
I tried to create a gRPC transcoding code with .NET 7. But the proto definitions are not getting properly included resulting in error. I would expect it to work as told in reference articles