You should use <webmap> to tell the task where your web projects are located:
<solution solutionfile="test.sln" configuration="release"> <webmap> <map url="http://localhost/A/A.csproj" path="c:\inetpub\wwwroot\A\A.csproj" /> <map url="http://localhost/B" path="c:\other\B" /> </webmap> </solution> For more information, see:http://nant.sourceforge.net/nightly/help/tasks/solution.html Jarek ----- Original Message ----- From: "Bryan Andrews" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 06, 2004 5:20 PM Subject: RE: [Nant-users] Slingshot > Ok that sounds good. > > I created: > > <?xml version="1.0"?> > <project name="NAnt"> > > <solution configuration="debug" solutionfile="TI.mysol.sln" /> > > </project> > > I ran and recieved: > > C:\nant>nant -buildfile:d:\projects\ti\ti.mysol \TI.mysol.build > NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 12/26/2003) > Copyright (C) 2001-2003 Gerry Shaw > http://nant.sourceforge.net > > Buildfile: file:///d:/projects/ti/ti.mysol/TI.mysol.build > [solution] Starting solution build. > > BUILD FAILED > > Error checking whether 'http://localhost/TI.mysol.mysolPortal/TI.mysol.mysolPortal.vbproj' is an enterprise template project > . > The remote server returned an error: (403) Forbidden. > > Total time: 5.1 seconds. > > > This is a web project and I checked to make sure that anonymous access to the web was enabled. > > I also tried: > > <?xml version="1.0"?> > <project name="NAnt"> > > <solution configuration="debug" solutionfile="TI.mysol.sln" /> > <webmap> > <map url="http://localhost/TI.mysol.mysolPortal/TI.mysol.mysolPortal.vbproj" > > path="D:\Projects\TI\TI.mysol\TI.mysol.mysolPortal\TI.mysol.mysolPortal.vbpr oj" /> > > </webmap> > > </project> > > And got the same response. > > Any ideas on what this means? I am logged in as an admin. Thanks for the help! > > -----Original Message----- > From: Jaroslaw Kowalski [mailto:[EMAIL PROTECTED] > Sent: Friday, February 06, 2004 9:03 AM > To: Bryan Andrews; [EMAIL PROTECTED] > Subject: Re: [Nant-users] Slingshot > > Slingshot is a bit outdated. Use <solution> task from the nant core. > > Jarek > ----- Original Message ----- > From: "Bryan Andrews" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, February 06, 2004 2:32 PM > Subject: [Nant-users] Slingshot > > > Hi, > > > I have installed nantcontrib and slingshot *seems* to be installed, but I > have not been able to find much documentation on its usage. I am new to nant > so I may be going about this the wrong way for lack of examples showing me > otherwise. > > I have tried creating a nant build file that creates my solution.build file. > It is named createSol.build: > > <?xml version="1.0"?> > <project name="Nant" > > <slingshot solution="MySolution.sln" format="nant" > output="MySolution.build"> > <parameters> > <option name="build.basedir" value="bin"/> > </parameters> > </slingshot> > </project> > > I have tried several ways to run this: > > > C:\Documents and > Settings\adatlba>nant -D:nant.dir=c:\nant\ -buildfile:d:\projects\ti\ti.umix > \createSol.build > NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 12/26/2003) > Copyright (C) 2001-2003 Gerry Shaw > http://nant.sourceforge.net > > Buildfile: file:///d:/projects/ti/ti.umix/createSol.build > > BUILD FAILED > > d:\projects\ti\ti.umix\createSol.build(3,2): > Invalid element <slingshot>. Unknown task or datatype. > > Total time: 0 seconds. > > > It looks to me as the slingshot dll is not installed but it seems to be (the > dlls are in the bin dir of nant). > > Any thoughts or links on real usage of slingshot would be great as I could > find no examples. > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nant-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/nant-users > ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users