I suggest upgrading to one of the recent nightly builds (http://nant.sourceforge.net/nightly/builds) as these tend to be more stable than the 0.8.3 release ...
Gert ----- Original Message ----- From: "Harvey Green" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "Nicklas Norling" <[EMAIL PROTECTED]> Sent: Thursday, November 27, 2003 8:52 AM Subject: Re: [Nant-users] Solution task not copying referenced dlls to output dir > Hi, > I'm running 0.8.3 ... the latest stable build > I'm running 1.0 of .NET and Visual Studio.NET 2002 > > I've got around the problem for the time being by using the "exec" task and > running the devenv.exe direct ... > > <target name="build" description="MetaViewer Debug Build"> > <exec workingdir="." program="cmd.exe" commandline="/c devenv.exe > MetaViewer\MetaViewer.sln /rebuild Debug" /> > </target> > > it seems a bit clunky but its working fine anyway... > > Regards, > > Harvey > > > Nicklas Norling wrote: > > >Hi. > > > >What version are you runing? I'm using both file and project > >references in a 30-ish project large solution file and appropriate > >dll's are copied as they should. > > > >If you are not running the latest nightly build, you could try > >using it. > > > >/Nicke > > > > > > > >>-----Original Message----- > >>From: Harvey Green [mailto:[EMAIL PROTECTED] > >>Sent: den 27 november 2003 03:43 > >>To: [EMAIL PROTECTED] > >>Subject: [Nant-users] Solution task not copying referenced > >>dlls to output dir > >> > >> > >>Hi all, > >>I'm new to nant but can see I'll be using it a lot in the future...! > >> > >>My problem is this... > >> > >>- I have a C# VS.NET solution ("MetaViewer") which relies on > >>a library > >>dll called 'Petrolog.Library.dll' which is located in another > >>directory. > >>- When I build MetaViewer inside VS.NET, it automatically copies this > >>referenced dll into the debug\bin output directory. > >>- But when I build it with nant, this reference dll isn't copied even > >>though it reports 'build succeeded'. Nant creates the new > >>MetaViewer.exe > >>application, which fails to run because the > >>Petrolog.Library.dll file is > >>missing from the output directory. > >> > >>Am I doing something wrong here? > >> > >>Thanks in advance, > >> > >>Harvey Green > >> > >>---------------------------------------------------- > >> > >><?xml version="1.0"?> > >><project name="MetaViewer" default="build"> > >> <target name="clean" description="Remove all generated files"> > >> <delete verbose="true" failonerror="false"> > >> <fileset basedir="."> > >> <includes name="MetaViewer\bin\debug\*.dll"/> > >> <includes name="MetaViewer\bin\debug\*.pdb"/> > >> <includes name="MetaViewer\bin\debug\*.xml"/> > >> <includes name="MetaViewer\obj\debug\**"/> > >> </fileset> > >> </delete> > >> </target> > >> > >> <target name="build" description="MetaViewer Debug Build"> > >> <solution configuration="Debug" > >>solutionfile="MetaViewer\MetaViewer.sln" verbose="true"> > >> <referenceprojects> > >> <includes name="Petrolog.Library\Petrolog.Library.csproj" /> > >> </referenceprojects> > >> </solution> > >> </target> > >> > >> <target name="backup" description="Create MetaViewer > >>Source Backup"> > >> <zip zipfile="Backups\MetaViewer.zip" verbose="true"> > >> <fileset basedir="."> > >> <includes name="MetaViewer\**"/> > >> </fileset> > >> </zip> > >> </target> > >></project> > >> > >> > >> > >> > >>------------------------------------------------------- > >>This SF.net email is sponsored by: SF.net Giveback Program. > >>Does SourceForge.net help you be more productive? Does it > >>help you create better code? SHARE THE LOVE, and help us > >>help YOU! Click Here: http://sourceforge.net/donate/ > >>_______________________________________________ > >>Nant-users mailing list > >>[EMAIL PROTECTED] > >>https://lists.sourceforge.net/lists/listinfo/n> ant-users > >> > >> > >> > > > > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nant-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/nant-users > > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
