Page 1 of 1

System.MethodAccessException thrown on load

Posted: 28 Jul 2011, 22:18
by cgay
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!

Found it

Posted: 29 Jul 2011, 15:54
by cgay
Current WP7 doesn't support Sockets :( . It is possible that it will with the Mango update. Going to look in the Other API's list for a WCF build.