danielcrenna/tweetsharp — Issue #17: Newtonsoft.Json 4.07 support
Author: emmanuelbuah
Created: 2012-01-25 20:20:23+00:00
State: open

My project references Newtonsoft.Json 4.07 but looks like tweetsharp is currently try to look 4.0.3 which throws the following error.

System.IO.FileLoadException: 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) File name: 'Newtonsoft.Json, Version=4.0.3.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' at TweetSharp.Serialization.SerializerBase..ctor() at TweetSharp.Serialization.JsonSerializer..ctor() at TweetSharp.TwitterService..ctor() in C:\Users\Daniel\Desktop\Src\tweetsharp\src\net40\TweetSharp.Next\Service\TwitterService.cs:line 146 at TweetSharp.TwitterService..ctor(String consumerKey, String consumerSecret) in C:\Users\Daniel\Desktop\Src\tweetsharp\src\net40\TweetSharp.Next\Service\TwitterService.cs:line 130

Should be possible to require only > 4.0.3 versions per statement on nuget install