Display all the packages required for a gRPC client (#13704)
* Update basics.md * Update basics.mdpull/13707/head
parent
c865d654a2
commit
dd0897be1c
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue