Bala, You can use the <assemblyfolders> child element of the <solution> task for this purpose.
eg. <solution solutionfile="whatever.sln" configuration="debug"> <assemblyfolders> <include name="assembies" /> </assemblyfolders> </solution> This will instruct NAnt to first check the "<project base directory>\assemblies" directory for referenced assemblies, before starting to look in the Visual Studio and .NET Framework Assembly Folders. Right now, the order in which assembly references are resolved is : 1) .NET Framework directory 2) Assembly Folders (first user-specified folders, then Visual Studio .NET and .NET Framework assembly folders) 3) HintPath If the resolved path of a given assembly reference matches the output file of a project that is referenced, then we'll convert the assembly reference into a project reference. If an assembly file for a given assembly reference cannot be found, then we try to find a managed project of which the assembly name matches the assembly name of the assembly reference. Hope this helps, Gert > -----Original Message----- > From: Bala [mailto:[EMAIL PROTECTED] > Sent: donderdag 6 januari 2005 9:02 > To: nant-users@lists.sourceforge.net; Gert Driesen > Subject: Re: Building VC++ projects > > Hi all, > > I am building my application(C# and VC++) with NANT's <solution>. > > All my projects are referencing some dll's. > > When building with solution, the NANT gets the reference path from > the project file.It works fine. > > But in my case, i want the NANT to go and check a particular folder( > which contains all the DLLs) for referencing a dll by default. > > Is there any way to make nant to search a particular folder for dlls ? > > Thanks in advance > > Bala > > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users