I'm not an expert with the <solution> task, but I would recommend that you do the 
following:

* If possible make sure all paths to files, resources, etc, in your solution and 
project files are relative to the solution root directory. (VS.NET will show some of 
the paths in the properties as absolute paths but they are really stored as relative 
paths... I would open the solution file with an editor and look through for paths... 
but don't change it! That way you can tell if the paths are stored as relative paths 
or absolute paths.)

* Try to make sure that everything needed to build that solution is under a single 
tree underneath that solution root directory.

I think that your troubles will be minimized and then you will probably have the 
ability to get your sources and place them anywhere as long as they are all under a 
common solution root directory.

I'm trying to build a few solutions that not only have projects in completely 
different directory trees, but also require that they be in a particular drive. I have 
a hard time worrying about paths...

--
Edwin G. Castro
Firing Systems Engineer
[EMAIL PROTECTED]
 
________________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Beaudet
Sent: Friday, April 09, 2004 7:44 AM
To: [EMAIL PROTECTED]
Subject: [Nant-users] <Solution> Paths Question

If I use the <Solution> task to make a build, how would that work if I'm grabbing the 
source files from version control and placing them on our build server.  Will I have 
to make an exact duplicate directory structure as what's on the development machine?  
Do I have to start with the same drive and work my way to the project level or are the 
paths relative the .sln file or build file?  
 
Brian M. Beaudet
Director, Research & Development
EfficiencyLab, LLC
www.efficiencylab.com
 



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to