System.MethodAccessException thrown on load
Posted: 28 Jul 2011, 22:18
I am attempting to build a WP7 game utilizing XNA. I have upgraded the Silverlight project through Web Developer 2010 and have referenced it in my project. On start running my game I get:
A first chance exception of type 'System.MethodAccessException' occurred in SmartFoxClientAPI_Silverlight.dll
The only thing I can see that might throw that error is line 292 in JsonMapper.cs:
MethodInfo op = t1.GetMethod (
"op_Implicit", new Type[] { t2 });
Is this the cause and if so what can I do to solve it. If it isn't does anyone have any ideas? Let me know if more information is needed.
Thanks in advance!
A first chance exception of type 'System.MethodAccessException' occurred in SmartFoxClientAPI_Silverlight.dll
The only thing I can see that might throw that error is line 292 in JsonMapper.cs:
MethodInfo op = t1.GetMethod (
"op_Implicit", new Type[] { t2 });
Is this the cause and if so what can I do to solve it. If it isn't does anyone have any ideas? Let me know if more information is needed.
Thanks in advance!