grpc / grpc/grpc-dotnet

Grpc.AspNetCore.Server.Reflection doesn't work with shared proto file.

Open
#2,462 2 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
4.5k
Forks
836
Avg merge
6d 3h
Merged PRs (30d)
7

Description

Dear
I've shared assembly containing a proto file.
The project look like this :
```





```

The server project :
```




```

When I use gRPCUI I get the following error :
Failed to compute set of methods to expose: Symbol not found: test
caused by: File not found: test.proto

Is there a way to make it work with reflection ?
Thanks

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the gRPCUI failure with the shared protos/test.proto and the server's Protos/stuff.proto AdditionalImportDirs configuration. Inspect how the server reflection metadata is generated and how imported proto files are packaged or resolved. Done means reflection can resolve test.proto and gRPCUI exposes the referenced methods without the file-not-found error.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.