I think I figured out, I added the token generator dll by mistake and that's what caused it.
On Sunday, June 17, 2018 at 6:24:57 PM UTC+3, yu...@pikoya.com wrote: > > 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 > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/9f952453-c509-42f1-a644-acf54df1c478%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.