From: Ian M. <ianm@ActiveState.com> - 2003-10-15 17:03:23
|
Vincent, I'd be interested to see your first error. As longs as the upgrade didn't remove the 1.0 version of the framework - the build should still have worked. As for the error you've posted, I'm not sure. Is it possible that you have another build running in another console that could have locked that file ? I suggest using the handle [1] utility to find out which process is locking NAnt.VisualCpp.Tests.dll [1]http://www.sysinternals.com/ntw2k/freeware/handle.shtml Ian Vincent Erickson wrote: > 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? > |