Daniel Mlodecki
1 min readJan 30, 2020

--

Hello again windows noob homies:

Having trouble compiling the c# protobuf code? You might be missing the csharp grpc plugin:

go to
https://www.nuget.org/packages/Grpc.Tools/2.26.0

download package

rename to .zip & extract

\tools\windows_x64\grpc_csharp_plugin.exe

instead of
protoc -I grpc/ — csharp_out=grpc/client — grpc_out=grpc/client — plugin=protoc-gen-grpc=/usr/local/bin/grpc_csharp_plugin color.proto

try
protoc -I grpc/ — csharp_out=grpc/client — grpc_out=grpc/client — plugin=protoc-gen-grpc=”Grpc.Tools.2.26.0\tools\windows_x64\grpc_csharp_plugin.exe” color.proto

— — — — — — — — —

Looking for ColorClient.cs? It’s in OP’s github repo for this tutorial:

https://github.com/FearlessHyena/unity-basic-grpc/blob/master/client/Assets/Scripts/ColorClient.cs

--

--