Handle by Sysinternals is a good free app that will show you what process has the dll 
locked (if any). I use this all the time. 

(Sorry for the plug, I am in no way affiliated with www.sysinternals.com)

-Scott

-----Original Message-----
From: Jaroslaw Kowalski [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 15, 2003 1:51 PM
To: Vincent Erickson; [EMAIL PROTECTED]
Subject: Re: [Nant-users] Getting errors trying to compile using .Net v1.1

Are you sure your DLL is not locked by some process (like NUnit or VisualStudio)?
As for the error - ignore it. You have a functional NAnt in "build\nant-0.8.4-debug" 
which you can use.
 
Jarek
----- Original Message ----- 
From: Vincent Erickson 
To: NAnt Users List ([EMAIL PROTECTED]) 
Sent: Wednesday, October 15, 2003 6:18 PM
Subject: [Nant-users] Getting errors trying to compile using .Net v1.1

I just upgraded my machine from Visual Studio .Net 2002 to VS.Net 2003. When my 
nightly nant script ran, it failed and implied that it needed to be recompiled using 
the newer framework. I downloaded the latest nightly build and ran the following 
command line: nant /k:net-1.1

It gets most of the way through building, then gives me the following error:

[nant] tests/NAnt.VisualCpp/NAnt.VisualCpp.build test

Buildfile: file:///C:/NAnt/tests/NAnt.VisualCpp/NAnt.VisualCpp.build
Target(s) specified: test

build:

 [csc] Compiling 3 files to 
C:\NAnt/build/nant-0.8.4-debug/bin/NAnt.VisualCpp.Tests.dll.
error CS0016: Could not write to output file 
'c:\NAnt\build\nant-0.8.4-debug\bin\NAnt.VisualCpp.Tests.dll' -- 'The process cannot 
access the file because it is being used by another process. '

BUILD FAILED

C:\NAnt\tests\NAnt.VisualCpp\NAnt.VisualCpp.build(11,10)
:
External Program Failed: C:\WINNT\Microsoft.NET\Framework\v1.1.4322\csc.exe (return 
code was 1)

Total time: 0.3 seconds.

BUILD FAILED
Nested build failed.  Refer to build log for exact reason.

Total time: 22.8 seconds.

BUILD FAILED

C:\NAnt\NAnt.build(111,10):
 External Program Failed: C:\NAnt/build/nant-0.8.4-debug/bin/NAnt.exe (return code was 
1)

Any thoughts? 


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to