Display all the packages required for a gRPC client (#13704)

* Update basics.md

* Update basics.md
pull/13707/head
James Newton-King 2019-08-08 00:06:30 +12:00 committed by Rick Anderson
parent c865d654a2
commit dd0897be1c
1 changed files with 2 additions and 2 deletions

View File

@ -46,9 +46,9 @@ This package is required by both the server and client projects. The `Grpc.AspNe
[!code-xml[](~/tutorials/grpc/grpc-start/sample/GrpcGreeter/GrpcGreeter.csproj?highlight=1&range=12)]
Client projects should reference `Grpc.Tools` directly. The tooling package isn't required at runtime, so the dependency is marked with `PrivateAssets="All"`:
Client projects should directly reference `Grpc.Tools` alongside the other packages required to use the gRPC client. The tooling package isn't required at runtime, so the dependency is marked with `PrivateAssets="All"`:
[!code-xml[](~/tutorials/grpc/grpc-start/sample/GrpcGreeterClient/GrpcGreeterClient.csproj?highlight=1&range=11)]
[!code-xml[](~/tutorials/grpc/grpc-start/sample/GrpcGreeterClient/GrpcGreeterClient.csproj?highlight=3&range=9-11)]
## Generated C# assets