System.IO.FileLoadException: Could not load file or assembly 'Google.Api.Gax.Grpc, Version=2.1.0.0'
See original GitHub issueSystem.IO.FileLoadException: Could not load file or assembly 'Google.Api.Gax.Grpc, Version=2.1.0.0, Culture=neutral, PublicKeyToken=3ec5ea7f18953e47' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.
.Net 4.6.1 Error occurs when trying to execute Google.Cloud.PubSub.V1 (1.0.0-beta13) code.
We do have binding redirects (that have correct versions):
<dependentAssembly>
<assemblyIdentity name="Google.Api.Gax" publicKeyToken="3ec5ea7f18953e47" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.2.1.0" newVersion="2.2.1.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Google.Api.Gax.Grpc" publicKeyToken="3ec5ea7f18953e47" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.2.1.0" newVersion="2.2.1.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Google.Api.Gax.Rest" publicKeyToken="3ec5ea7f18953e47" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.2.1.0" newVersion="2.2.1.0" />
</dependentAssembly>
Issue Analytics
- State:
- Created 6 years ago
- Comments:9
Top Results From Across the Web
Dependency issue when running c# sample project based ...
Auth to 1.21.0 but then the problem moves to "Could not load Google.Api.Gax, Version=1.0.1.0" and then (if I keep downgrading dependencies) ...
Read more >[jira] [Work logged] (BEAM-3900) Introduce Euphoria Java 8 ...
The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file...
Read more >https://git.furworks.de/opensourcemirror/opnsense-...
+ +It is built using a modular "virtual analog" model, where the composer can build +the synthesizers from scratch using simple basic building...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sounds good to me, thanks - I completely appreciate that reproducing it now you’ve got an alternative isn’t a priority 😃
Agreed. I might be able to create a reproducible case… but it’s not worth our time at this moment. If we see this again we’ll let you know.