-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not load file or assembly 'Google.Apis.Auth, Version=1.36.1.0 #210
Comments
Hi @AngelVenchev . Were you able to find a solution to this? I have a similar problem with |
Same error here when I am using AWS mock test tool to test my lamba function localy: Could not load file or assembly 'Google.Apis.Auth, Version=1.41.1.0, Culture=neutral, PublicKeyToken=4b01fa6e34db77ab'. An operation is not legal in the current state. (Exception from HRESULT: 0x80131509) |
I'm getting the same error when trying to incorporate with Revit. I use version 1.44.1.0 as a reference DLL and then it also asks me for version 1.21.0.0 |
Same error here when I am using AWS mock test tool to test my lamba function localy too! System.IO.FileLoadException: Could not load file or assembly 'Google.Apis.Auth, Version=1.47.0.0, Culture=neutral, PublicKeyToken=4b01fa6e34db77ab'. An operation is not legal in the current state. (Exception from HRESULT: 0x80131509) |
I've solved this! The problem, in my case, is that it just doesn't work with AWS mock test tool! |
The reason is: The API references both Versions of the Google.Apis.Core DLL. 1.36.1.0 AND the actual one (in my case 1.49.0.0). Its getting really confusing if you load the DLL at runtime. At best using Google Ads where the error is located together with Google Analytics with tends to use the correct DLL reference. So what to do: You need to map the old version of Google.Apis.Core 1.36.1.0 to your preferred one. You can do this by adding a bindingRedirect to you app.config (It need to be in your startup project(s). Down in a referred DLL project does not work!) `
` |
I get this same error when i create a release from cmd but not through vs |
I solved by copying all the local |
I am having the same issue as in the following issue #208
However, I am not updating I am adding those dependencies for the first time. I am unable to run an example successfully. I added the required configuration to a config file extracted an
IConfigurationSection
out of it and created anAdWordsUser
to run the example.The configuration settings get loaded successfully, but I get the following error:
The text was updated successfully, but these errors were encountered: