The tooling package you need here is Grpc.Tools, which should work fine in
a class library.
On Sun, 18 Apr 2021 at 23:08, Chris Langlois wrote:
> Thanks for the recommendations. I can add .proto files to the Shared
> projects. What I cannot do is add a build action for "protobuf compiler" to
>
Thanks for the recommendations. I can add .proto files to the Shared
projects. What I cannot do is add a build action for "protobuf compiler" to
enable automatic compilation in Visual Studio. For some reason that doesn't
seem to work within a shared project in particular. I tried manually
What is stopping you from adding them to the shared project? What TFM is it
targeting? This should JustWorkTM. You could also look at the csproj
changes in the client and server, and try to apply the same changes in the
shared project - it might tell you why it isn't happy.
On Sun, 18 Apr 2021,
I'm using Protobuf and Visual Studio C#. I have a Client project, Server
project, and and shared project. I want my proto file and messages to live
within the shared project. I'm installed the Nuget packages for protobuf,
protobuf tools, grpc, grpc core, and grpc tools into both my client and