Title: Message
Anthony,
 
Create a VS solution and include the common file as link in VS.
Set up projects to include the hundreds of files you have, defining
dependencies etc. Then use <solution> to point out the solution
and the build config to build.
The <solution> taks is made to run a solution, not to include loads
of code and file references, really. If you don't like the idea, check
out <csc> that is specifically made for those how like a more fine
grained file control in Nant.
 
Hope that helps.
 
/Nicke
-----Original Message-----
From: Anthony Coelho [mailto:[EMAIL PROTECTED]
Sent: den 19 mars 2004 07:13
To: [EMAIL PROTECTED]
Subject: [Nant-users] Solutions Vs Nant?

Hi All,
 
I have a simple question, I am new to NAnt and was curious to see if anyone has found an easy way of keeping Visual Studio.NET projects and NAnt build files in sync. Sure it's easy enough to include each and every file you want to be in the build in a NAnt build file, but on large projects, it would be nice pull that information from a VS.NET project file since it would be most up to date.
 
I have tried using the solution task, but don't see a way to include special files such as a common assemblyinfo file. Anyone found a good way to automate what files are included. My particular project has hundreds of files and trying to determine which ones need to go in a build file gives me the hibbies...
 
Thanks,
Anthony
 

Reply via email to