I apologise in advance that what follows probably isn't 100% relevant to nant, but I'm really hopeful that someone here might be able to set me in the right direction and end hours of frustration.
I've set up a basic build system using nant and Draco.NET which appears to be working well for simple solutions/projects. I've just started to test it out on more complicated projects and have hit a problem compiling projects that reference external dlls. I'm using the solution task to do the compile and the dlls in question reside on a shared network drive and are referenced via a drive mapping (R:) configured on every developer workstation. A simple nant build file to compile the project using the solution task works fine when executed from the command line, the problem starts when Draco launches the exact same build file, with nant reporting that it can't find the referenced assembly. I've included a copy of the simple build script that demonstrates the problem plus the output from the command line invocation (correct) and Draco invocation (incorrect). I'm at a bit of a loss as to where to begin with this one. Only thing I can think of at present is there's some kind of permissions thing going on (I've tried some of the more obvious things like giving the shared folder full access to 'everyone' but without success). I'd be eternally grateful to anyone who can give me any pointers. Phil <?xml version="1.0"?> <project name="BuildDemo/BuildDemoWebSoln" default="build" basedir="."> <target name="build"> <solution configuration="release"> <projects> <includes name="BuildDemo/BuildDemo.vbproj" /> </projects> </solution> </target> </project> NAnt version 0.8.4 Copyright (C) 2001-2003 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///D:/Projects/BuildDemo/BuildDemoWebSoln/test.build Target(s) specified: build build: [solution] Starting solution build. [solution] Building BuildDemo [release]... Read in 0 resources from 'D:\Projects\BuildDemo\BuildDemoWebSoln\BuildDemo\default.aspx.resx' Writing resource file... Done. Read in 0 resources from 'D:\Projects\BuildDemo\BuildDemoWebSoln\BuildDemo\Global.asax.resx' Writing resource file... Done. BUILD SUCCEEDED Total time: 1.2 seconds. NAnt version 0.8.4 Copyright (C) 2001-2003 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///D:/Projects/BuildDemo/BuildDemoWebSoln/test.build Target(s) specified: build build: [solution] Starting solution build. [solution] Building BuildDemo [release]... BUILD FAILED Couldn't find referenced assembly 'R:\ExternalAssemblies\Microsoft\ApplicationBlocks\ExceptionManagement\Micro soft.ApplicationBlocks.ExceptionManagement.dll'. Total time: 0.2 seconds. ------------------------------------------------------------------------------ DISCLAIMER: This email and files transmitted are confidential and are intended solely for the use of the intended recipient. If you are not the intended recipient, or the person responsible for delivering it to the intended recipient, you may not copy, disclose, distribute or use it in any unauthorised manner. If you have received this email in error please notify us by telephoning on 01902-554455 or by email to [EMAIL PROTECTED] and then delete it and any attachments accompanying it. Please note that Wolverhampton City Council cannot guarantee that this message or any attachments are virus free or have not been intercepted and amended. Any views or opinions expressed within this email are those of the author and may not necessarily reflect those of Wolverhampton City Council and no contractual arrangement is intended to arise from this communication. ============================================================================== ------------------------------------------------------- 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-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers