收到此错误“加载本机库时出错。在Google Cloud中创建频道时,在Google Cloud grpc_csharp_ext.x86.dll的任何可能位置都找不到”。任何人都可以帮助我吗?
var configValue = getConfiguration("GOOGLE_CREDENTIAL", service);
GoogleCredential googleCredential = GoogleCredential.FromJson(jsonData).CreateScoped(PublisherClient.DefaultScopes);
Channel channel = new Channel(PublisherClient.DefaultEndpoint.Host, googleCredential.ToChannelCredentials());
googlecredential正在接受评估。通道行中发生错误。
答案 0 :(得分:0)
您是否尝试过添加grpc.core?
此处是类似问题-https://github.com/GoogleCloudPlatform/google-cloud-dotnet/issues/1186