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 -----
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?

Reply via email to