Hi,
I hope someone can help with this as it's driving me mad.
I'm trying to mock an assembly that uses Newtonsofts' JSON library, in particular the JObject class. Whenever there is a return type of this or I attempt to pass in a JObject, Typemock fails with a System.Security.VerifyException.
Interestingly it only does this when I call Isolate.Verify to make sure the call was made - if I do not do this, it passes the test.
Any ideas? Edit: Sorry,it's version 6.0.4
Things I've tried so far : marking assembly AllowPartiallyTrustedCallers, setting SecurityOptions to Level1....neither worked :(
Tony