I have solved it with the help of the archive: <!-- build the software --> <target name="buildall" description="Builds the whole Odin Solution"> <echo message="Solution started: ${nant.project.basedir}\BuildAll\BuildAll.sln" /> <echo message=" Web project: ${WebAppDir}\mainpage.csproj" /> <solution configuration="debug" solutionfile="${nant.project.basedir}\BuildAll\BuildAll.sln" verbose="true"> <webmap> <map path="${WebAppDir}\mainpage.csproj" url="http://localhost/OdinMain/mainpage.csproj" /> </webmap> </solution> </target>
Will this change? Sincerely, Lindsay Note: forwarded message attached. __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/
--- Begin Message ---I have been using Nant for everything BUT building my solutions, until recently. I have the following build target and the following problem.... <!-- build the software --> <target name="buildall" description="Builds the whole Odin Solution"> <echo message="Solution started: ${nant.project.basedir}\BuildAll\BuildAll.sln" /> <echo message=" Web project: ${WebAppDir}\mainpage.csproj" /> <solution configuration="debug" solutionfile="${nant.project.basedir}\BuildAll\BuildAll.sln" verbose="true"> <webmap path="\Odin\WebServer\WebApp\mainpage.csproj" url="http://localhost/OdinMain/" > </webmap> </solution> </target> NAnt 0.85 (Build 0.85.1556.0; net-1.0.win32; nightly; 4/5/2004) Copyright (C) 2001-2004 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/morsli00_OdinFD/Odin/odin.build Target(s) specified: buildall [echo] Odin Build Starting.... [echo] odinprops included buildall: [echo] Solution started: C:\morsli00_OdinFD\Odin\BuildAll\BuildAll.sln [echo] Web project: C:\morsli00_OdinFD\Odin\WebServer\WebApp\mainpage.csproj [solution] Starting solution build. BUILD FAILED Cannot build web project 'http://localhost/OdinMain/mainpage.csproj'. Please use <webmap> to map the given URL to a project-relative path, or specify enablewebdav="true" on the <solution> task element to use WebDAV. Total time: 0.5 seconds. What don't I understand? Thanks. __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/
--- End Message ---