You should reference the $(ProjectDir) macro (for your source location) and the $(OutDir) macro (for your destination location), in all VS projects. This will work in any project no matter what the current working directory is, or what the output directory is.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nau, Michael Sent: Monday, November 22, 2004 12:45 PM To: [EMAIL PROTECTED] Subject: [Nant-users] <solution> task & post build events I noticed when I set the outputdir on the solution task to something other than the default, all of the reference path's for the PostBuildEvent's are incorrect. We do a lot of copying in our post build events, things like: copy /Y ..\..\..\..\..\..\..\External\Verinex.Security.Biometric.Fingerprint.dll . copy /Y ..\..\..\..\..\..\..\External\Verinex.Security.Biometric.Fingerprint.Sca nner.dll . copy /Y ..\..\..\..\..\..\..\External\Verinex.Security.Biometric.Fingerprint.Ver ification.dll . copy /Y ..\..\..\..\..\..\..\External\Verinex.Security.Proximity.dll . copy /Y ..\..\..\..\..\..\..\External\VX001.dll . copy /Y ..\..\..\..\..\..\..\External\VX002.dll . copy /Y ..\..\..\..\..\..\..\External\VXT001.dll . copy /Y ..\..\..\..\..\..\..\External\A4Digest.dll . copy /Y ..\..\..\..\..\..\..\External\CustomScrollBar.dll . When the output dir is set to something other then the default, the path's don't line up right. Is there a workaround for this? Here's the nant info for the version I'm using: D:\temp\nant>nant -help NAnt 0.85 (Build 0.85.1782.0; nightly; 11/17/2004) Copyright (C) 2001-2004 Gerry Shaw http://nant.sourceforge.net Thanks, Mike. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users