Which is thrown on the 2nd line:VerificationException: Error verifying Sfs2X.Logging.LoggerEvent:LogEventType (Sfs2X.Logging.LogLevel): Object not compatible with constrained type at 0x000e
Code: Select all
SmartFox server = new SmartFox (true);
server.AddLogListener(logLevel, (EventListenerDelegate)OnDebugMessage);If I use the SmartFox constructor without the boolean parameter, and omit the AddLogListener line, I don't get any errors and I can even connect, but I don't receive any of the extension responses (even though I can see through the console that the server is getting my requests and fufilling them without errors.)
Everything works if I build in Standalone mode. It also works on another colleague's computer (Web mode), but I can't find any difference in our project settings.
Reading about the exception didn't help much, except that it is thrown whenever you write unverifiable code and try to compile it to a safe(?) binary. I couldn't find anything else about the other parts of the error.
Client api is v1.5.6
Anyone has any idea about what could be wrong?