[Mono-list] System.Security.Policy.Evidence::GetHostEvidence<[1]>()

nelson nelson.cabral at gmail.com
Wed Feb 27 03:07:08 UTC 2013


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.


More information about the Mono-list mailing list