Hi Steve.  I tried that; there's no difference.  To verify, I changed the
Class1 c'tor to

System.Diagnostics.Debug.WriteLine(this.GetType().AssemblyQualifiedName);

and the output, with no exception:
ClassLibrary.Class1, ClassLibrary, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=7a284cebd3bd12d6

I also tried with just LinkDemand (as I too really only care about the
immediate caller); but, that didn't make a difference either.

Is there some setting to override/ignore these types of permissions that
I've inadvertently toggled?

On Wed, 15 Feb 2006 09:37:54 -0700, Steve Johnson <[EMAIL PROTECTED]>
wrote:

>I've done this before, but the assembly to which I applied the SNIP
>attribute was strongly named.  Try strongly naming your assemblies with
two
>different keys.  I was also using LinkDemand because I was only interested
>in the immediate caller.

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to