Skip to content
This repository was archived by the owner on Apr 9, 2021. It is now read-only.

Commit 7878dd8

Browse files
authored
Merge pull request #754 from pastmaster007/patch-1
csharp.md: changes to mac os build instructions.
2 parents 1216a72 + cbc1741 commit 7878dd8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

docs/quickstart/csharp.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,12 @@ From the `examples/csharp/Helloworld` directory:
159159
```
160160

161161
**Linux (or OS X by using macosx_x64 directory)**
162+
Note:
163+
protoc-gen-grpc plugin requires fullpath of "grpc_csharp_plugin" executable instead of short form with "~" symbol. Make sure to change <HOME_FOLDER phrase in below command according to your local machine.
162164

163165
```
164166
# Local nuget cache on Linux and Mac is located in ~/.nuget/packages
165-
$ ~/.nuget/packages/packages/grpc.tools.{{ site.data.config.grpc_release_tag | remove_first: "v" }}/tools/linux_x64/protoc -I../../protos --csharp_out Greeter --grpc_out Greeter ../../protos/helloworld.proto --plugin=protoc-gen-grpc=~/.nuget/packages/grpc.tools.{{ site.data.config.grpc_release_tag | remove_first: "v" }}/tools/linux_x64/grpc_csharp_plugin
167+
$ ~/.nuget/packages/grpc.tools.{{ site.data.config.grpc_release_tag | remove_first: "v" }}/tools/linux_x64/protoc -I../../protos --csharp_out Greeter --grpc_out Greeter ../../protos/helloworld.proto --plugin=protoc-gen-grpc=${HOME}/.nuget/packages/grpc.tools.{{ site.data.config.grpc_release_tag | remove_first: "v" }}/tools/linux_x64/grpc_csharp_plugin
166168
```
167169

168170
Running the appropriate command for your OS regenerates the following files in

0 commit comments

Comments
 (0)