Re: APTCA & Visual Basic .NET 2005



Hello,

Do you have an import statement for the System.Security namespace?

Best regards,
Hening

> -----Original Message-----
> From: Marcelo [mailto:mcollao@xxxxxxxxx]
> Posted At: Montag, 23. Januar 2006 23:13
> Posted To: microsoft.public.dotnet.security
> Conversation: APTCA & Visual Basic .NET 2005
> Subject: APTCA & Visual Basic .NET 2005
>
>
> Hello.
>
> I'm building a user control with visual basic .net 2005.
> I want to set the AllowPartiallyTrustedCallersAttribute attribute
> using:
>
> <assembly:AllowPartiallyTrustedCallersAttribute()>
>
> at the assembly level, but it doesn't work.
>
> the compiler says:
> Type 'AllowPartiallyTrustedCallersAttribute' is not defined.
>
> How can i define the AllowPartiallyTrustedCallersAttribute attribute
> with visual basic .net 2005?
>
> Thanks in advanced.
> Marcelo.
>

.