Re: TestFixtures not detected in assembly loadedfromnetwork drive [SOLVED]

"Charlie Poole" <[email protected]> Thu, 21 Aug 2008 10:23:06 -0700
Newsgroups gmane.comp.windows.dotnet.nunit.user
Message-ID <001401c903b2$9660ad30$6401a8c0@ferrari>
I'm open to any ideas as to how to do this. The problem is
that it shows up as either a file-not-found or an assembly
with no tests in it. Both of those happen frequently 
enough that I wouldn't want to confuse users by saying
"Your file not found may also be due to ...."

Charlie

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf 
> Of Eric Mangold
> Sent: Thursday, August 21, 2008 9:39 AM
> To: nunit-users
> Subject: Re: [Nunit-users] TestFixtures not detected in 
> assembly loadedfromnetwork drive [SOLVED]
> 
> Good guess! It was indeed caused by .NET security settings.
> 
> Following the instructions here, I ran "capsol" commands 
> appropriate for my remote drive, and now all is well.
> 
> http://support.microsoft.com/kb/837909
> 
> I would highly recommend, if there is any possible way, for 
> NUnit to detect this condition and issue a warning (if a 
> workaround is not possible).
> 
> Thanks,
> Eric Mangold
> 
> On Thu, Aug 21, 2008 at 4:21 AM, Schnick, Michael 
> <[email protected]> wrote:
> > Hi,
> >
> > Maybe it's a problem with the .net 2.0 security settings.
> > A colleague sent us a mail on how to update the security settings. 
> > This seems to be necessary to run .NET applications from network 
> > drives as such.
> >
> > You need to download a special program from Microsoft 
> (cannot provide 
> > you with a link as I only have the internal location of the file). 
> > Then you can update the Microsoft .NET Framework 1.1 
> Configuration settings.
> >
> > Basically, it seems to be about loosening the Runtime 
> Security Policy...
> >
> > Maybe it's worth to ask google for information on this.
> >
> > Good luck
> >
> > Michael Schnick
> >
> > Michael Schnick, Cognex German Branch, Aachen
> >
> >
> > -----Original Message-----
> > From: [email protected]
> > [mailto:[email protected]] On 
> Behalf Of Eric 
> > Mangold
> > Sent: Donnerstag, 21. August 2008 10:17
> > To: [email protected]
> > Subject: [Nunit-users] TestFixtures not detected in assembly loaded 
> > fromnetwork drive
> >
> > Hi,
> >
> > Strange problem.. when loading an assembly on a remote 
> network drive 
> > (VirtualBox Shared Folder) NUnit shows no test cases, as if no 
> > TestFixtures were defined in the assembly. No errors are reported.
> >
> > If the same assembly is copied to the local drive, then it 
> loads and 
> > the test cases are shown.
> >
> > I've run Process Monitor, and there don't seem to be any 
> errors with 
> > reading the files off the remote drive... I have full write 
> access to 
> > the drive, as well.
> >
> > Any ideas? Please let me know what I can do to debug this.. I don't 
> > mind building NUnit from source, if someone can tell me 
> what to look 
> > for...
> >
> > Thanks in advance,
> > Eric Mangold
> >
> > 
> ----------------------------------------------------------------------
> > --
> > -
> > This SF.Net email is sponsored by the Moblin Your Move Developer's 
> > challenge Build the coolest Linux based applications with 
> Moblin SDK & 
> > win great prizes Grand prize is a trip for two to an Open 
> Source event 
> > anywhere in the world 
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > Nunit-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/nunit-users
> >
> 
> --------------------------------------------------------------
> -----------
> This SF.Net email is sponsored by the Moblin Your Move 
> Developer's challenge Build the coolest Linux based 
> applications with Moblin SDK & win great prizes Grand prize 
> is a trip for two to an Open Source event anywhere in the 
> world http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Nunit-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/nunit-users
> 



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/