c# grpc Grpc.Core.Internal.PlatformApis 报错

The type initializer for 'Grpc.Core.Internal.PlatformApis' threw an exception.

原因重写了程序集加载

 AppDomain.CurrentDomain.AssemblyResolve += delegate (object sender, ResolveEventArgs args)

导致程序集加载失败

posted @ 2021-12-27 19:42  wolbo  阅读(17)  评论(0编辑  收藏  举报