Gert, I've got the same problem. (Please see the caveats at the end of this.)
I've got a project that is composed of a bunch of DLL that launch reports. In each project we have a report launcher that is just a small exe that exercises the dll. I have set the solution task to exclude the launcher project <target name="compileHouseBill-debug" if="${debug}" depends="compileDocumentProducer-debug"> <property name="source-location" value="${build-base}\Document House Bill of Lading"/> <copy file="${comProxy-location}\B89001lAX.dll" todir="${final-target}"/> <copy file="${comProxy-location}\B89001lCM.dll" todir="${final-target}"/> <solution configuration="debug" solutionfile="${source-location}\Document House Bill of Lading.sln" outputdir="${debug-location}"> <excludeprojects> <!--<include name="${source-location}\launch_tool\launch_tool.csprojj"/>--> <exclude name="launch_tool.csprojj"/> </excludeprojects> <projects> <include name="House Bill of Lading Document.vbproj"/> </projects> <assemblyfolders> <include name="${final-target}"/> </assemblyfolders> </solution> <copy file="${debug-location}\House Bill of Lading Document.dll" todir="${final-target}"/> <copy file="${debug-location}\Interop.B89001lTypelib.dll" todir="${final-target}"/> </target> (Wow - That's a mess) Anyway, the launch_tool.csprojj gets built no matter what I do, and as you can see by my commented out line, I tried a few different combinations. The upshot is that it's not a big deal in this case, I build to a build area, and then copy to my final target. I don't think this bug should hold up the release .85 release, it's a known issue. (again, my opinion on the severity of the bug and probably doesn't reflect the opinion of the project owner) Malcolm Caveats: 1) I am using a May 25th build combined with (I think) a raw .84 build of nant contrib. It's working on my primary machine which is a Pentium 4, 2.79 GHz, 1.00 GB of RAM, running XP-Pro, Service Pack 1 The problem is, I'm not really sure how I got it working. 2) I'm in the process of trying to get a more current build of nant and nant-contrib to work, but so far my attempts to get NAnt and NAnt-Contrib working on my test machine have been abject failures. Mind you, I'm hampered by crappy machines (No I mean *REALLY* crappy machines) running Win2k as a test machine. 3) My time window for testing is limited, I'm really not supposed to be spending much time on this. (Read as: "Don't get caught, but if you can make it work, congradulations.) --- Gert Driesen <[EMAIL PROTECTED]> wrote: > Matt, > > It should work as you've described. Can you provide a small repro for this > issue ? > > Gert > > ----- Original Message ----- > From: "Matt Hulse" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, July 22, 2004 6:56 PM > Subject: [Nant-users] VS.Net 2003, <solution> <excludeprojects> does not do > anything. > > > > Please Help! > > > > > > > > I need to exclude a project from the solution being built because it's > > breaking the build. > > > > I'm using the following for my solution task: > > > > > > > > <solution > > > solutionfile="c:\conformx\solutions\conformx_project_ref\conformx_project_re > > f.sln" configuration="debug"> > > > > <excludeprojects> > > > > <include > > name="c:\conformx\shared\mimepackage\mimepackage.vcproj" /> > > > > </excludeprojects> > > > > <webmap> > > > > <map url="http://localhost/conformx" > > path="c:\conformx\conformx" /> > > > > <map url="http://localhost/conformxws" > > path="c:\conformx\conformxws" /> > > > > </webmap> > > > > </solution> > > > > > > > > Is my syntax correct? Is this meant to exclude projects from the > solution? > > I don't want to the excluded project to be built but I also don't want to > > change the solution file unless I have no other choice. Does anyone use > the > > excludeprojects attribute with success? > > > > > > > > Please tell me if you can see what I'm doing wrong. > > > > > > > > (I'm using the latest nightly build of NAnt and NAnt_Contrib and VS.Net > > 2003) > > > > > > > > Thanks, > > > > > > > > Matt Hulse > > > > [EMAIL PROTECTED] > > > > Docutech, Inc. > > > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Nant-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/nant-users > ===== "Oh Bother!" said the Borg, "We just assimilated Pooh." __________________________________ Do you Yahoo!? Vote for the stars of Yahoo!'s next ad campaign! http://advision.webevents.yahoo.com/yahoo/votelifeengine/ ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users