hi I am using vs 2019 to creat gRPC service and Client within one project in c#,
<Protobuf Include="Protos\greet.proto" GrpcServices="Server" />
<Protobuf Include="Protos\greet.proto" GrpcServices="Client" />
it seems not work and either-or;
but i just wanna to build my service and client to one EXE file. and how to do that?thx a lot
Just have it once and set GrpcServices to Both:
<Protobuf Include="Protos\greet.proto" GrpcServices="Both" />
Hi. Awesome. Fixed my issue. But where is the documentation for this โ
Them is some on troubleshooting page. Will move it to the Protobuf on C# page - https://github.com/dotnet/AspNetCore.Docs/pull/19152
Most helpful comment
Just have it once and set GrpcServices to Both: