Ok, I found a link to Google.Apis.Auth 1.21.0 - this is the Grpc.Auth package in Grpc.Auth .
If you just add a reference to the Grpc.Auth DLL, you will get such a failure, but if you manage all the dependencies through NuGet, I would expect that everything will be alright - it should add assembly binding redirects for you.
Without knowing the exact settings, itβs quite difficult to say more - itβs possible that your library needs to redirect assembly bindings, but the application controls them ... and, in particular, if your application has only a link to the library DLL, which will cause a problem.
As a workaround, you can manually add assembly binding redirects (the exact way to do this will depend on the type of application) or just add a link to Google.Cloud.PubSub.V1 in the application, as well as to the library where the NuGet point will perform all the processing dependencies for you.
source share