Okay I think that I have figured out why the building by the solution file skips projects.
I was doing more testing today on building the solution, making sure my paths were correct, and I still had projects being skipped. So I created a text file that contains all the .vcproj files and therefore called the solution task and each project that I want build. This should have forced the build to only build one project at a time until the end of file. Well sure enough the build would again skip all the same project files. I was starting to get frustrated and then came up with a new thought. Could it be that Nant is looking at the configuration passed into the Solution task and if the project file does not contain that configuration then it skips it. All this time I was only passing in the one configuration that I need to build. So I checked each project file and some build Unicode Release and other only build Release. So I updated my .txt file to supply the configuration that goes with each project and started my build. Whoa and behold all the projects built. So if is configuration specific..... So this rules out building by solution file itself, because all the apps have different configurations. This means that I have to get on the developer to make sure that each configuration exists in each project so as to not get skipped during the build. Anyways that seems to be what my problem was. So what does Nant Solution task do different that devenv does correctly. With devenv if the configuration does not exist it will simply build the configuration that closely matches it. So a Unicode Release would build a Release project. Is this something that can be fixed in Nant? Thanks, Tim Mayert -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gert Driesen Sent: November 18, 2005 12:13 AM To: 'Read, Kevin'; nant-users@lists.sourceforge.net Subject: RE: [Nant-users] Building by solution task - complete solution file verses building by exec program - devenv task Kevin, I've had a quick look, and you're right: our behaviour differs from that of VS.NET (but I don't think it does any harm). If I recall correctly, we needed to recursively reference assemblies because of some issue with vbc (we do not need to do this for csc). I'll have a closer look later today. Gert > -----Original Message----- > From: Read, Kevin [mailto:[EMAIL PROTECTED] > Sent: vrijdag 18 november 2005 1:01 > To: Gert Driesen; nant-users@lists.sourceforge.net > Subject: RE: [Nant-users] Building by solution task - > complete solution file verses building by exec program - devenv task > > > Gert, > > Attached is my test solution. Edit the a.build file to change from > solution to devenv.com > > After running, ildasm the a.dll and notice the reference to the c > assembly. > > -----Original Message----- > From: Gert Driesen [mailto:[EMAIL PROTECTED] Sent: > Friday, 18 November 2005 07:46 > To: Read, Kevin; nant-users@lists.sourceforge.net > Subject: RE: [Nant-users] Building by solution task - > complete solution > file verses building by exec program - devenv task > > > Kevin, > > Can you send me a repro for the issue you described ? > > Thanks ! > > Gert > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf > Of > Read, Kevin > > Sent: donderdag 17 november 2005 22:27 > > To: nant-users@lists.sourceforge.net > > Subject: RE: [Nant-users] Building by solution task - > > complete solution file verses building by exec program - devenv task > > > > 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=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=ick _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------------------------- 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