I have just installed TeaCommerce V3.1.1 onto a copy of Umbraco 7.3.4 and am running into an issue when I try to expand my store node in that it gives the following message.
If I try to copy V8 of Newtonsoft into the bin folder, the website then breaks as Umbraco 7.3.4 (the official latest release) is expecting V6 of Newtonsoft.
Do you have any idea how I can get around this issue??
Could not load file or assembly 'Newtonsoft.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
EXCEPTION DETAILS
System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
You can get round this issue by adding the new dll into the build folder and editing the web config assembly for the dll to fall back on the new version.
I had to do something similar with NEST for elastic search which uses version 9, so i removed the old dll, added in the new one and built the project.
You may need to check nuget isnt trying to override it by editting the package.config to pull in the right version too.
Newtonsoft.Json version issue
I have just installed TeaCommerce V3.1.1 onto a copy of Umbraco 7.3.4 and am running into an issue when I try to expand my store node in that it gives the following message.
If I try to copy V8 of Newtonsoft into the bin folder, the website then breaks as Umbraco 7.3.4 (the official latest release) is expecting V6 of Newtonsoft.
Do you have any idea how I can get around this issue??
Could not load file or assembly 'Newtonsoft.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) EXCEPTION DETAILS System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Hi Graham,
There's a note on that problem in the Tea Commerce revision history: https://documentation.teacommerce.net/revision-history/
It's under 3.1 Install notes
/Rune
You can get round this issue by adding the new dll into the build folder and editing the web config assembly for the dll to fall back on the new version.
I had to do something similar with NEST for elastic search which uses version 9, so i removed the old dll, added in the new one and built the project.
You may need to check nuget isnt trying to override it by editting the package.config to pull in the right version too.
<dependentAssembly> <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="9.0.0.0" /> </dependentAssembly>
Hope it helps!
I had the same issue and I solve it this way :
is working on a reply...