Veriosn Compatility issue with 'Newtonsoft.Json


#1

I get this error when I try to link to the Twitterizer Library:

Error 1 Assembly ‘Twitterizer2, Version=2.4.0.2272, Culture=neutral, PublicKeyToken=69d1469eac671567’ uses ‘Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed’ which has a higher version than referenced assembly ‘Newtonsoft.Json, Version=4.0.5.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed’ c:\MyFX\Projects2012Q4\Libraries\Twitterizer2\Twitterizer2\bin\Debug\Twitterizer2.dll Twitterizer2.Async

Please advice.

Thanks,


#2

Hello, this post on stackoverflow helped me solve this very same problem.

For me, I removed the twitterizer dll references and the Newtonsoft reference from my project, installed the specific version of newtonsoft that twitterizer uses, using the Package Manager Console in vs.net, using this command, Install-Package Newtonsoft.JSON -version 4.0.5

Then I manually referenced the twitterizer dlls I needed. And things worked.