docs icon indicating copy to clipboard operation
docs copied to clipboard

Can't Add gRPC Connected Service to .NET Standard Class Library Project

Open DeviantSpark opened this issue 3 years ago • 2 comments

In the section "Generate client code" it says to create a new .NET Standard library project and then use "Manage Connected Service" to add a gRPC service reference. When I try to add a service reference in VS 17.2.6 to this type of project I only get options for OpenAPI and WCF Web Service. How do I get the option for gRPC for this type of project? I only see the gRPC option with a .NET Core 3 project but I want to do it in a .NET Standard project like the article describes.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

DeviantSpark avatar Jul 28 '22 13:07 DeviantSpark

Hi @DeviantSpark, I have tested with .NET standard library project, you can add a gRPC service reference as per the below screenshot: Add class library project Add service reference

erjain avatar Sep 14 '22 17:09 erjain

We can close this issue now.

erjain avatar Sep 14 '22 17:09 erjain