It seems as if the NUnit2 task is only running correctly when I build and have all the 
assemblies located on the local volume (C:).  If I work on a network share or mapped 
drive (i.e. X:), NUnit2 seems to fail.

For a bit of background information, NAnt is installed on C: in C:\NAnt (with the 
assemblies in bin).  nunit.framework was apparently placed in the GAC, and does indeed 
point to this assembly (C:\NAnt\bin\nunit.framework.dll).  I've verified the public 
key token is correct.

Everything is being built on a network share (let's call it //DEVSERVER/BUILDS/) which 
is mapped to X:.  All the build bits (source, compiled assemblies, etc) will end up 
residing on this share.  So I have gone ahead and created some new Machine Code 
Groups.  I've created one called "DEVSERVER/BUILDS" which uses the URL condition of 
"file://DEVSERVER/BUILDS/*" and uses the FullTrust permission set.  I've also created 
one called "X:", which uses the URL condition of "file://X:/*", also using the 
FullTrust permission set.

Now, I can execute the assemblies on the share (whereas without these code groups, I 
can't).  However, Nunit2 still fails with SecurityContext related errors.  Building on 
C: solves the issue, however due to numerous reasons (not enough room, local drive 
isn't part of the backup loop, local drive isn't accessible to folks who need to 
access the build results), I really can't build there.

If someone could point out the error of my ways, that'd be great.

Rob Gomes



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to