VS 2019 and Grpc Build failed without show any error

Re ze 1 Reputation point
2021-03-24T14:25:03.57+00:00

Hello, I was trying Grpc and I made a Service that is working. Then I made a Console App as client and it works Ok. Then a Winforms App that work too. When I made a WPF App, when I built it says 'Build Failed' but there are no errors in the 'Error Tab'. The first line compiles well: using var channel = GrpcChannel.ForAddress("https://localhost:5001"); But when I uncoment the second line give me that strange error: var weather = new Greeter.GreeterClient(channel); Anyone knows what is wrong? I'm using .Net 5.0. Thanks!
81168-sem-nome.png

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,671 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,238 questions
{count} votes