Operation could destabilize the runtime using v5.0.8 from NuGet


I seem to have hit this error in my build system and I have spent way too long trying to sort this out that I am being pressured into writing it in a really bad way because we need this fix live yesterday.

I have tried everything I know of and have Google searched this issue and have only come up with problems using VS2010 Ultimate (which we do not use), and that it was a bug fixed in v4 revision 6 (I am using the latest version from NuGet v5 revision 8). I am starting to loose the will to live with this one.

I am trying to Serialize and Deserialize JSON from objects.

No matter what I do it all work beautifully using Resharper's Test Runner, But when I run it through our MSBuild scripts it fails with the error 'Operation could destabilize the runtime'.

Any help would be great. I have a zipped project that can reproduce this error, but it is 50Mb in size and will not attach to the card, I can email this if required.
Closed Dec 10, 2013 at 5:30 AM by JamesNK


JamesNK wrote Dec 6, 2013 at 10:30 AM

I have no idea. No one else has reported getting that error recently. It took me over a year to track down the VS2010 issue...