Brian, I think the problem is that the projects that you're including explicitly are already included as part of the solution file.
The docs of the <solution> task are not very clear on this topic. I think the <projects> node should only be used to explicitly build a set of projects that are not part of the specified solution file. Gert ----- Original Message ----- From: "Brian Yeo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, July 08, 2004 9:45 AM Subject: Project GUID XXX already exists! Conflicting project is XXX > Hi guys, > > When I build the following, I got the error msg as listed below. > > BUILD FAILED > > Error loading project C:\DotNet\Nunit\PTA.ENTERPRISE.NUnit\PTA.Enter > prise.Database.NUnit\PTA.Enterprise.Database.NUnit.csproj. Project GUID > {97A4F6 > 29-CA11-4577-9C15-9F1FA066D75E} already exists! Conflicting project is > C:\DotNet > \Nunit\PTA.ENTERPRISE.NUnit\PTA.Enterprise.Database.NUnit\PTA.Enterprise.Dat abas > e.NUnit.csproj. > > The version of NAnt I use is 0.85 nightly build, a fairly recent version. > > ** excerpt of the NAnt script ** > > <target name="Nunit-Test-DB" description="Nunit test DB"> > <echo message="Nunit-Test-DB"/> > > <solution configuration="${release.state}" > solutionfile="C:\DotNet\Nunit\PTA.ENTERPRISE.NUnit\PTA.ENTERPRISE.NUnit.sln" > outputdir="${drive}\${src.bin.Nunit}"> > <projects> > <include > name="C:\DotNet\Nunit\PTA.ENTERPRISE.NUnit\PTA.Enterprise.Database.NUnit\*.c sproj"/> > <include > name="C:\DotNet\Nunit\PTA.ENTERPRISE.NUnit\PTA.Enterprise.Enterprise.NUnit\* .csproj"/> > <include > name="C:\DotNet\Nunit\PTA.ENTERPRISE.NUnit\PTA.Enterprise.Webservice.NUnit\* .csproj"/> > </projects> > </solution> > > <nunit2> > <formatter type="${outputType}" usefile="${usefile}" extension=".xml" > outputdir="${outputdir}" /> > <test > assemblyname="${drive}\${src.bin.Nunit}\PTA.Enterprise.Database.Nunit.dll" > /> > </nunit2> > </target> > > ** The PTA.ENTERPRISE.NUnit.sln contains *** > > Microsoft Visual Studio Solution File, Format Version 8.00 > Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = > "PTA.Enterprise.Database.NUnit", > "PTA.Enterprise.Database.NUnit\PTA.Enterprise.Database.NUnit.csproj", > "{97A4F629-CA11-4577-9C15-9F1FA066D75E}" > ProjectSection(ProjectDependencies) = postProject > EndProjectSection > EndProject > Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = > "PTA.Enterprise.Enterprise.NUnit", > "PTA.Enterprise.Enterprise.NUnit\PTA.Enterprise.Enterprise.NUnit.csproj", > "{8EB76DB1-EAD1-420C-B5B4-49C334C04015}" > ProjectSection(ProjectDependencies) = postProject > EndProjectSection > EndProject > Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = > "PTA.Enterprise.Webservice.NUnit", > "PTA.Enterprise.Webservice.NUnit\PTA.Enterprise.Webservice.NUnit.csproj", > "{86392ED0-F927-4FB4-80E2-EC9D47D0F553}" > ProjectSection(ProjectDependencies) = postProject > EndProjectSection > EndProject > > Is anyone able to help? > > Regards, > Brian Yeo > Registered user at SF > > _________________________________________________________________ > Smart Saving with ING Direct - earn 5.25% p.a. variable rate: > http://ad.au.doubleclick.net/clk;7249209;8842331;n?http://www.ingdirect.com. au/burst6offer.asp?id=8 > > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users