I get this error when I switch my project from Standalone to Webplayer.
Internal compiler error. See the console log for more information. output was:
Unhandled Exception: System.TypeLoadException: Could not load type ‘System.Security.SecurityCriticalScope’ from assembly ‘mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’.
at (wrapper managed-to-native) System.Reflection.Assembly:InternalGetType (System.Reflection.Module,string,bool,bool)
I know when you switch to web player it says WebplayerSubset (NOT .net 2.0 or .net 2.0 subset)
I have the same problem. Did anybody find a solution? I’m guessing it has to do with a webservice, I get this error since I included calls to a WCF service to the project. It works fine as standalone player.