[protobuf] 'protoc-gen-grpc' is not recognized as an internal or external command

2021-01-05 Thread Antonis
Hi, I am on windows. I installed grpc using vcpkg. I added the protoc in the path and i tried to run an example. But I have the following error. Do you have any idea why? *'protoc-gen-grpc' is not recognized as an internal or external command* the command is protoc -I . --grpc_out=.

[protobuf] Myservice.proto:7:xx: "google.protobuf.Empty" is not defined.

2021-01-05 Thread Tom Hintz
New user question... Using Visual Studio 2019, C# project, I added NuGet packages Google.Protobuf and Google.Protobuf.Tools and formed a simple. I can't use Empty or Timestamp data types. How do I reference these definitions? Example .proto file, below. protoc.exe version 3.14.0 produces the

Re: [protobuf] Myservice.proto:7:xx: "google.protobuf.Empty" is not defined.

2021-01-05 Thread Derek Perez
You need to locate and import this file locally: https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/empty.proto That should do it! On Tue, Jan 5, 2021 at 3:00 PM Tom Hintz wrote: > New user question... Using Visual Studio 2019, C# project, I added NuGet > packages

Re: [protobuf] Myservice.proto:7:xx: "google.protobuf.Empty" is not defined.

2021-01-05 Thread Tom Hintz
Thank you! On Tuesday, January 5, 2021 at 6:08:55 PM UTC-5 de...@perez.earth wrote: > You need to locate and import this file locally: > > https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/empty.proto > > That should do it! > > On Tue, Jan 5, 2021 at 3:00 PM Tom Hintz