Re: The resource is in use!!

"Charlie Poole" <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nunit.user
Message-ID <006901c8c7a9$d1bb69a0$be64a8c0@ferrari>
You only need to load the assembly that has the tests. All other referenced
assemblies will be loaded by .NET in the normal way. This means, of course,
that they must be available in the test Application Base or on any 
probing path you have set.

Does this happen when you load the tests the first time after rebooting
the computer?

Charlie

> -----Original Message-----
> From: Shishir Pandey01 [mailto:[email protected]] 
> Sent: Thursday, June 05, 2008 9:10 AM
> To: Charlie Poole; [email protected]
> Subject: RE: [Nunit-users] The resource is in use!!
> 
> Hi Charlie
> 
> I tried closing the project and loading it again but, it 
> still gives the same error. Also, the program I am running 
> refers to many other assemblies should I load all of them, 
> they do not have any NUNIT tests present in there assemblies.
> 
> Shishir
> 
> 
> -----Original Message-----
> From: Charlie Poole [mailto:[email protected]]
> Sent: Thursday, June 05, 2008 12:09 PM
> To: Shishir Pandey01; [email protected]
> Subject: RE: [Nunit-users] The resource is in use!!
> 
> My guess is that this is not a problem of NUnit itself, but 
> of the test assembly you are automatically loading when 
> starting NUnit.
> To verify this, run nunit /noload and then look at the recent 
> files menu to see what assembly or project is listed first. 
> That is probably the cause of the problem, which you can 
> check by selecting it to load manually.
> 
> Charlie
> 
> > -----Original Message-----
> > From: [email protected]
> > [mailto:[email protected]] On Behalf Of 
> > Shishir Pandey01
> > Sent: Thursday, June 05, 2008 7:09 AM
> > To: [email protected]
> > Subject: [Nunit-users] The resource is in use!!
> >
> > Hi
> >
> > I am using NUNIT 2.4.7 for .Net 1.1.
> >
> > I am trying to test a windows application but, whenever I 
> run NUNIT I 
> > get the following error -> 
> System.ComponentModel.Win32Exception - "The 
> > requested resource is in use" what can be done to overcome this?
> >
> >
> > With regards
> > Shishir Pandey
> >
> > **************** CAUTION - Disclaimer ***************** This e-mail 
> > contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended 
> solely for 
> > the use of the addressee(s). If you are not the intended recipient, 
> > please notify the sender by e-mail and delete the original message. 
> > Further, you are not to copy, disclose, or distribute this 
> e-mail or 
> > its contents to any other person and any such actions are unlawful. 
> > This e-mail may contain viruses. Infosys has taken every reasonable 
> > precaution to minimize this risk, but is not liable for any 
> damage you 
> > may sustain as a result of any virus in this e-mail. You 
> should carry 
> > out your own virus checks before opening the e-mail or attachment. 
> > Infosys reserves the right to monitor and review the content of all 
> > messages sent to or from this e-mail address. Messages sent 
> to or from 
> > this e-mail address may be stored on the Infosys e-mail system.
> > ***INFOSYS******** End of Disclaimer ********INFOSYS***
> >
> > --------------------------------------------------------------
> > -----------
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services for just about anything 
> > Open Source.
> > http://sourceforge.net/services/buy/index.php
> > _______________________________________________
> > Nunit-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/nunit-users
> >
> 
> 
> 



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.