Re: ...being used by another process

"Charlie Poole" <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nunit.user
Message-ID <002201c89420$9d8bfa80$6401a8c0@ferrari>
Is 2.4.1 in the message a typo? If not, you appear to have multiple versions
of NUnit
mixed on your system. Multiple installs of NUnit may co-exist provided
copies of
the assemblies are not left around in out of the way places. Unfortunately,
Visual Studio has a habit of doing just that.
 
Charlie


  _____  

From: [email protected]
[mailto:[email protected]] On Behalf Of Ronnie
Mukherjee
Sent: Tuesday, April 01, 2008 9:20 AM
To: Charlie Poole; [email protected]
Subject: Re: [Nunit-users] ...being used by another process



When I try to open NUnitTests.nunit in the GUI, I get the following error
message :

  <file:///C:/DOCUME%7E1/RONNIE%7E1/LOCALS%7E1/Temp/moz-screenshot.jpg>
<file:///C:/DOCUME%7E1/RONNIE%7E1/LOCALS%7E1/Temp/moz-screenshot-1.jpg>
<file:///C:/DOCUME%7E1/RONNIE%7E1/LOCALS%7E1/Temp/moz-screenshot-2.jpg>
System.IO.FileLoadException : Could not load file or assembly
'test-utilities, Version=2.4.1.0, Culture=neutral, PublicKeyToken=null' or
one of its dependencies. The process cannot access the file because it is
being used by another process. (Exception from HRESULT: 0x80070020)

Thanks

Ronnie



  _____  

From: [email protected]
To: [email protected]; [email protected]
Subject: RE: [Nunit-users] ...being used by another process
Date: Tue, 1 Apr 2008 08:52:58 -0700


The message is a fairly generic one from .NET and can't be used to solve
any problems - the details count, particularly what "blah" is.
 
If you are unable to load an assemby that is designed to be loaded and run
independently, that's a problem we should try to solve. Only a few of the 
test assemblies that come with NUnit are intended to be run that way, so
it's not necessarily a problem that you can't run nunit.util.dll.
 
Were you able to run the NUnit verification tests after install? You get
them by loading NUnitTests.nunit, which provides the proper config
file for the individual assemblies.
 
If you are able to run the verification tests, then you are properly
installed and we need to get into the details of a particular project.
 
Charlie


  _____  

From: [email protected]
[mailto:[email protected]] On Behalf Of Ronnie
Mukherjee
Sent: Tuesday, April 01, 2008 7:24 AM
To: [email protected]
Subject: [Nunit-users] ...being used by another process


Hi 
 
Sorry for posting on a problem which has already been posted about, but I'm
getting that message "blah.dll is being used by another process", etc. 
 
I've tried removing all references to Nunit and reinstalling. Rereferencing
in my project, etc. 
 
I'm using version 2.4.7, by the way. 
 
There are a few dll files in the Nunit directory which I am able to open.
For example, I can open nunit.util.tests.dll, but when I run all tests on
this assembly, a large handful of the tests fail with that same message
"Could not load...etc...being used by another process" 
 
Can anyone please offer advice? 
 
Thanks 
 
Ronnie Mukherjee

  _____  

Have you played Fishticuffs? Get fish-slapping on Messenger
<http://www.fishticuffs.co.uk>  


  _____  

Have you played Fishticuffs? Get fish-slapping on Messenger
<http://www.fishticuffs.co.uk>

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

_______________________________________________
Nunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nunit-users
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.