Error when Upgrading to Adwords v23.5.0

18 views
Skip to first unread message

yu...@pikoya.com

unread,
Jun 17, 2018, 11:24:57 AM6/17/18
to AdWords API and Google Ads API Forum
I try to upgrade to v23.5.0, but I'm getting this error when I try to create a new AdwordsUser:

AdWordsUser user = new AdWordsUser();

I get this exception:

'Could not load file or assembly 'System.Runtime, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040

This is the stacktrace:
"   at Google.Api.Ads.Common.Lib.AppConfigBase.LoadConfigSection(String sectionName)\r\n   at Google.Api.Ads.AdWords.Lib.AdWordsAppConfig..ctor() in /usr/local/google/users/cseeley/tmp/tmp.XjSxk619HT/moesource/src/AdWords/Lib/AdWordsAppConfig.cs:line 278\r\n   at Google.Api.Ads.AdWords.Lib.AdWordsUser..ctor() in /usr/local/google/users/cseeley/tmp/tmp.XjSxk619HT/moesource/src/AdWords/Lib/AdWordsUser.cs:line 44\r\n   

Any idea how to fix it? Can you instruct me which more details to add?

Thanks,
Yuval

yu...@pikoya.com

unread,
Jun 17, 2018, 12:26:57 PM6/17/18
to AdWords API and Google Ads API Forum
I think I figured out, I added the token generator dll by mistake and that's what caused it.
Reply all
Reply to author
Forward
0 new messages