Re: NUnit and StrongnameIdentityPermission
From: Carel Lotz (CarelLotz_at_discussions.microsoft.com)
Date: 07/23/04
- Previous message: Mike: "Re: LDAP binding"
- In reply to: Nicole Calinoiu: "Re: NUnit and StrongnameIdentityPermission"
- Next in thread: Carel Lotz: "Re: NUnit and StrongnameIdentityPermission"
- Reply: Carel Lotz: "Re: NUnit and StrongnameIdentityPermission"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 22 Jul 2004 22:12:02 -0700
Thanks Nicole
I meant full trust demands. I'll have a look at the blog sample
-- Carel Lotz "I want to code till I die" - Robert C. Martin "Nicole Calinoiu" wrote: > Carel, > > If you are using link demands instead of full stack demands, this shouldn't > be an issue if you sign your test assembly with the same signing key. If > you're using full demands, either one of the following might be an option: > > 1. Re-compile NUnit from its source (available in the NUnit install > directory) after signing it with your own key. > 2. Instead of using full demands, test that each caller in the stack is > signed with any one of multiple acceptable keys from your own code. An > example of this approach is available at > http://blogs.msdn.com/Eugene_Bobukh/archive/2004/03/10/87603.aspx. > > #1 would probably be a lot less work if you're already well into > implementing your project. > > HTH, > Nicole > > > "Carel Lotz" <CarelLotz@discussions.microsoft.com> wrote in message > news:32CEAAE9-8055-4C73-ADD2-1993693009E4@microsoft.com... > > Hi > > > > We have created a framework of components for use only within our company > > and have therefore added StrongNameIdentityPermission with LinkDemands to > > our company's key on the public interfaces of some of the assemblies. > > This all works fine however we have run into a problem when executing the > > unit tests for the assemblies as a caller within the call chain is now > > NUnit itself. This brings about the permission error. > > > > How do I get our assemblies to automatically trust NUnit as a caller? > > > > Thanks > > -- > > Carel Lotz > > "I want to code till I die" - Robert C. Martin > > >
- Previous message: Mike: "Re: LDAP binding"
- In reply to: Nicole Calinoiu: "Re: NUnit and StrongnameIdentityPermission"
- Next in thread: Carel Lotz: "Re: NUnit and StrongnameIdentityPermission"
- Reply: Carel Lotz: "Re: NUnit and StrongnameIdentityPermission"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|