Hi everyone,
Please help me on this.
“Could not load file or assembly 'Newtonsoft.Json, Version=4.0.3.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)”.
'NewtonsoftJson.dll’ assembly is required for posting to twitter .The version used is 4.0.3.0.
And the same assembly(but diff version 4.0.0.0) is used as the dependent assembly by facebook C# api(dll). However the above assembly(4.0.3.0) does not work for both the cases (ie for posting to twitter and for login to facebook). In order to solve it ,created a separate project for posting to twitter and reference the assembly(4.0.3.0) separately (in the project for twitter post).And another version(4.0.0.0) was added as reference in main project for facebook but still the error comes.If twitter project is disabled and ran then the facebook login works fine and vice vera.
I have done lot of research and tried the following.
delete temporary asp.net files clean solution restart computer
Even tried to uninstall the assembly from gac(however its not registered there).
Please help me on this as its not working.
Thanks, S