Bugs item #1003335, was opened at 2004-08-04 08:54 Message generated for change (Comment added) made by mmastrac You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1003335&group_id=31650
Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Jos Clijmans (clijmans) Assigned to: Nobody/Anonymous (nobody) Summary: Solution Task locks dll's Initial Comment: Nighly build from 2004-08-02 on Windows XP VB.NET Solution with 2 projects, project B is dependend on project A with copy local = true. Building the solution the first time , no problem both projects are build and the dll from the first project is copied into the output dir of the second project. Change a source file from project A. Rebuild. The build fails for the first project with : vbc : error BC31019: Unable to write to output file ..\ProjectA\bin\ProjectA.dll': System Error &H80070020& The error is "File in use by another process" No previous nant or vbc process is still running. I've checked for locks with program WhoSLocking, no locks. I'm able to delete the dll from explorer or the commandline, so no hard lock. Indexing service is not running. ---------------------------------------------------------------------- >Comment By: Matthew Mastracci (mmastrac) Date: 2004-08-04 12:03 Message: Logged In: YES user_id=85368 Fixed in the latest CVS We were using GacCache to determine copy local for the second project before building the first project. We now defer checking GacCache until we are building the second project. ---------------------------------------------------------------------- Comment By: Jos Clijmans (clijmans) Date: 2004-08-04 10:36 Message: Logged In: YES user_id=958387 Repro : Unzip the attached file into dir c:\tmp Open a command prompt cd c:\tmp\NantLock Build solution using the supplied build file c:\nant\nant.exe Should build ok Change a source file form project NantLock for example edit c:\tmp\NantLock\AssemblyInfo.vb and add an extra space at the end. Rebuild c:\nant\nant.exe This produces the error Output of the build : C:\tmp\NantLock>c:\nant\nant NAnt 0.85 (Build 0.85.1676.0; net-1.1.win32; nightly; 3/08/2004) Copyright (C) 2001-2004 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/tmp/NantLock/NantLock.build Target(s) specified: build [tstamp] woensdag 4 augustus 2004 18:26:03. init: [echo] Building NantLock compile: [solution] Starting solution build. [solution] Building 'NantLock' [release]... [solution] vbc : error BC31019: Unable to write to output file 'C:\tmp\NantLock\bin\NantLock.dll': System Error &H80070 020& [solution] Build failed. [solution] Project 'NantLock' failed! [solution] Continuing build with non-dependent projects. [solution] [solution] Solution failed to build! Failed projects were: [solution] - NantLock BUILD FAILED - 6 non-fatal error(s), 0 warning(s) C:\tmp\NantLock\NantLock.build(17,6): Project build failed. Total time: 0.6 seconds. ---------------------------------------------------------------------- Comment By: Gert Driesen (drieseng) Date: 2004-08-04 10:01 Message: Logged In: YES user_id=707851 Jos, as always : please provide a small repro for this issue ! ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1003335&group_id=31650 ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers