I'm trying to embed mono and this line of managed code : StrongName fullTrustAssembly = typeof(Class10).Assembly.Evidence.GetHostEvidence<StrongName>();
Triggers this error : Missing method System.Security.Policy.Evidence::GetHostEvidence<[1]>() in assembly C:\Program Files (x86)\Mono-3.0.3\lib\mono\4.5\mscorlib.dll, referenced in assembly C:\Users\Nelson\Documents\Visual Studio 2010\Projects\EmbeddedMonoTest\Debug\ClassLibrary1.dll Unhandled Exception: System.MissingMethodException: Method not found: 'System.Security.Policy.Evidence.GetHostEvidence'. [ERROR] FATAL UNHANDLED EXCEPTION: System.MissingMethodException: Method not found: 'System.Security.Policy.Evidence.GetHostEvidence'. Any idea of what I missed ? -- View this message in context: http://mono.1490590.n4.nabble.com/System-Security-Policy-Evidence-GetHostEvidence-1-tp4658751.html Sent from the Mono - General mailing list archive at Nabble.com. _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
