1

Closed

Dynamic linking problem with 4.0.4 on NuGet

description

I updated my app from NuGet and I'm now seeing - Could not load type 'System.Dynamic.IDynamicMetaObjectProvider' from assembly 'System.Core, Version=3.7.0.0, 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
Fixed

comments

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 :)

Stuart