Hi Tim, We have also had dramas with the solution task producing incorrect results. In our case, the assemblies were compiling, but when we had a chain of dependencies (Assembly A calls B calls C) it would include the C dependency in the A metadata.
We still use the solution task for most of our builds, but decided to switch to use devenv.com when this problem occurred. Example... <property name="devenv.com" value="C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\devenv.com" /> <exec commandline="${project.solution} /rebuild ${project.configuration}" program="${devenv.com}" workingdir="${project.path}" verbose="true" /> -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Mayert Sent: Friday, 18 November 2005 04:59 To: nant-users@lists.sourceforge.net Subject: [Nant-users] Building by solution task - complete solution file verses building by exec program - devenv task Okay I have running out of ideas here on calling the solution task to build a full solution file. This just do not seem to work correctly! First, the build order does not be the same as I see it if I build from the exec program - devenv task Second, some project files something get completely missed altogether during the solution task build Third, some projects that contain two .idl files, that are set to generate the include information, only generates this information for one of them and therefore it fails when the project tries to find the other files that should have been generated. Now I am still a beginner with Nant and can not state that I know a lot about it, but a simple task such as calling a full solution file to build should build properly according to the solution properties as it has been set up.... Can any one tell me if they have also ran into trouble build a solution from the solution task and if so what they did to get around these issues? Would it just be easier if I just went to the exec program task and call devenv with the solution file? Thanks for any help. Tim Mayert. ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28&alloc_id845&op=ick _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager of QR. This message has been scanned for the presence of computer viruses. No warranty is given that this message upon its receipt is virus free and no liability is accepted by the sender in this respect. This email is a message only; does not constitute advice and should not be relied upon as such. ********************************************************************** ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28&alloc_id845&op=click _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users