From: Sandeep <Sa...@he...> - 2005-08-05 21:26:12
|
Hi Adam, Make sure the account you are using to run NAnt has the P: drive mapped. Also if you are using some windows service to run NAnt, write some script to re-map (delete and map) the P: drive when the windows service starts. You can use SUBST command to map the drive. In case of windows service even if you have mapped the drive for the account as logged-on user, it will not work. You have to map the drive for the account from within the service. Regards, Sandeep -----Original Message----- From: nan...@li... [mailto:nan...@li...] On Behalf Of Adam Jeffrey Sent: Friday, August 05, 2005 2:24 PM To: nan...@li... Subject: [Nant-users] Assembly references on network drive Hi, I have an issue where I am building a VS.Net 2003 solution (C#) that contains file references to assemblies located on a mapped network drive. The trouble is that Nant reports that is cannot find the assemblies and fails the build. The output from the Nant log shows the full path to the file, VS.Net does not have any trouble finding these assemblies so why does Nant? The references assemblies are production versions that a number of developers use in all build stages and cannot be used as project references. Build File Target ----------------- <target name=3D"build"> <solution verbose=3D"true" solution file=3D"${path.solution}\${solution.name}.sln" configuration=3D"${solution.configuration}" /> =09 </target> Nant Log Output (via CruiseControl.Net) --------------------------------------- Assembly "P:\Production\ThirdParty\EnterpriseLibrary\Microsoft.Practices.Enterpri seLibrary.Logging.dll", referenced by project "Logging", does not exist. Adam Jeffery Bell Litho 847-952-3326=20 ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nant-users mailing list Nan...@li... https://lists.sourceforge.net/lists/listinfo/nant-users |