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? |
- Re: [Nant-users] Getting errors trying to compile using ... Vincent Erickson
- Re: [Nant-users] Getting errors trying to compile u... Ian MacLean
- Re: [Nant-users] Getting errors trying to compile u... Jaroslaw Kowalski
- RE: [Nant-users] Getting errors trying to compile u... Scott Ford
- Re: [Nant-users] Getting errors trying to compi... Jaroslaw Kowalski
- Re: [Nant-users] Getting errors trying to compile u... Ian MacLean