Dynamic linking problem with 4.0.4 on NuGet


I updated my app from NuGet and I'm now seeing - Could not load type 'System.Dynamic.IDynamicMetaObjectProvider' from assembly 'System.Core, Version=, Culture=neutral, PublicKeyToken=969DB8053D3322AC'
Someone else on StackO has hit a similar issue - http://stackoverflow.com/questions/7780389/moving-to-json-net-4-0-3-broke-my-app
Although there's some confusion - I think 4.0.4 broken my app - not 4.0.3?
Thanks for this library - love it!
Closed Dec 10, 2011 at 9:45 PM by JamesNK


JamesNK wrote Nov 22, 2011 at 6:09 AM

The problem is that Windows Phone 7.1 defaults to the Silverlight 4 build if no explicit Silverlight 4 WP build is provided. Change the dll reference to the dll in the sl3-wp directory and it should work.

This will be fixed in 4.0.5

stuartlodge wrote Nov 22, 2011 at 7:07 AM

Thanks James - after years of working with JSON.Net it's great to actually speak to you!

Yes - just removing the nuget reference and manually adding the sl3 ref was what I did yesterday - worked well. (Basically I'm linking against some code borrowed from TweetSharp) - I put a note on that in the comment on SO :)

Thanks again for all the work on this epic :)


wrote Dec 10, 2011 at 9:45 PM

wrote Feb 22, 2013 at 2:48 AM

wrote May 16, 2013 at 1:37 PM