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

Daniel Lo Nigro lists at dan.cx
Wed Feb 27 09:41:57 UTC 2013


According to this page, Evidence.GetHostEvidence<T> is not yet implemented
in Mono.

http://go-mono.com/status/status.aspx?reference=4.0&profile=4.0&assembly=mscorlib




On Wed, Feb 27, 2013 at 2:07 PM, nelson <nelson.cabral at gmail.com> wrote:

> 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  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20130227/3bd08a9f/attachment.html>


More information about the Mono-list mailing list