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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adam
Jeffrey
Sent: Friday, August 05, 2005 2:24 PM
To: nant-users@lists.sourceforge.net
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="build">
        <solution verbose="true" solution
file="${path.solution}\${solution.name}.sln"
configuration="${solution.configuration}" />            
</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 


-------------------------------------------------------
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
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


-------------------------------------------------------
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
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to