Newtonsoft.json.dll version
Hi,
I'm using the GoogleMapsForNET v0.9.2a in an application. It uses Newtonsoft.json V3.5r6, but when I try to use it within Sitefinity, I get an error:
"does not implement inherited abstract member 'Newtonsoft.Json.JsonConverter.ReadJson"
My assumption is that you're using a different release of V3.5...but I can't figure out which one...both DLLs show the same version info:
Json35r6 Image Runtime Version:
Newtonsoft.Json, Version=3.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
Sitefinity Json Image Runtime Version:
Newtonsoft.Json, Version=3.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
Can you tell me which version you're using in Sitefinity 4.0? Are there plans to upgrade Newtonsoft.json to the 4.0 version?
Thanks,
Mike
Hi Mike,
The version Sitefinity uses is 3.5.0.0. As a test can you do binding redirect to the version of the assembly you have downloaded and works.
<
runtime
>
<
assemblyBinding
xmlns
=
"urn:schemas-microsoft-com:asm.v1"
>
<
probing
privatePath
=
"bin;sitefinity\admin\bin"
/>
<
dependentAssembly
>
<
assemblyIdentity
name
=
"Telerik.Sitefinity"
publicKeyToken
=
"b28c218413bdf563"
culture
=
"neutral"
/>
<
bindingRedirect
oldVersion
=
"4.3.1885.0"
newVersion
=
"4.4.2117.0"
/>
</
dependentAssembly
>
</
assemblyBinding
>
</
runtime
>
But there were several releases of Newtonsoft.json which all seem to have the same file version 3.5.0.0. I realized this myself when I discovered the ReadJson method signature is different in the one you use and the one I've been using. Do you know which release (e.g. R5, R6, R7 or R8) you're using?
Thanks,
Mike
Hello Mike,
We are using Json3.5 R7.
Regards,
Victor Velev
the Telerik team