Could not load file or assembly 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies

Dear SDL Devs, dear Community,

we are still using the file based API. On Studio 2019 we get the following error, using Sdl.LanguagePlatform.TranslationMemoryApi:

Could not load file or assembly 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. HRESULT: 0x80131040: The located assembly's manifest definition does not match the assembly reference

We never used JSON nor Newtonsoft.Json. Inspecting the Studio installation folder, one can find a dll file with the same name, but it's in version 11.0.2. Does the API still reference an old version of the dll? And is it possible to fix it without a hassle?

Unfortunately we can't use 

public ReadOnlyCollection<ServerBasedTranslationMemory> GetTranslationMemories(TranslationMemoryProperties additionalProperties);

anymore, at least the problem occurs trying to refresh Translation Memories.

Best Regards,

Hendrik

Parents
  • We have analyzed the error in more detail. It happens with the newest Version of Studio, 15.1.3.55768. Newtonsoft.JSON is delivered in version 11.0.2 but the API seems to be dependent on 9.x

    We installed an older version of Studio 2019 (15.1.0.44109), which works fine. Newtonsoft.JSON was delivered in version 9.0.2

    Unfortunately it's not possible to copy the 9.0.2 dll into the updated Studio. The GUI won't start at all.

Reply
  • We have analyzed the error in more detail. It happens with the newest Version of Studio, 15.1.3.55768. Newtonsoft.JSON is delivered in version 11.0.2 but the API seems to be dependent on 9.x

    We installed an older version of Studio 2019 (15.1.0.44109), which works fine. Newtonsoft.JSON was delivered in version 9.0.2

    Unfortunately it's not possible to copy the 9.0.2 dll into the updated Studio. The GUI won't start at all.

Children
No Data