i facing error below
could not load file or assembly 'newtonsoft.json, version=7.0.0.0, culture=neutral, publickeytoken=30ad4fe6b2a6aeed' or 1 of dependencies. located assembly's manifest definition not match assembly reference. (exception hresult: 0x80131040)
i see below in web.config
<dependentassembly> <assemblyidentity name="newtonsoft.json" culture="neutral" publickeytoken="30ad4fe6b2a6aeed" /> <bindingredirect oldversion="0.0.0.0-7.0.0.0" newversion="7.0.0.0" /> </dependentassembly>
so changed
<dependentassembly> <assemblyidentity name="newtonsoft.json" culture="neutral" publickeytoken="30ad4fe6b2a6aeed" /> <bindingredirect oldversion="0.0.0.0-7.0.0.0" newversion="7.0.1.0" /> </dependentassembly>
in packeges.config see below entry
but still facing same issue. please
a lot of things can go wrong , error message tells nothing.
but still facing same issue.
maybe easiest way try , reinstall package.
go tools > nuget package manager , select package manager console. execute following 2 commands:
uninstall-package newtonsoft.json -force install-package newtonsoft.json
if still error after doing this, worked me deleted json.net's section .config file. reinstall brings if it's not there , apparently need delete it. until there normal solution in package itself, i'm afraid manual step must. in package manager console again execute:
update-package –reinstall newtonsoft.json
also take @ .net version of projects in solution.
this microsoft solution unloading project.
Comments
Post a Comment