The <solution> task only works with VS.NET 2002 and 2003 solutions. Try using the <msbuild> task in NAntContrib.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jacob Siegel Sent: Friday, April 18, 2008 9:10 PM To: Jacob Siegel Cc: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Help Needed using <solution> tag Quoting Jacob Siegel <[EMAIL PROTECTED]>: I should add a little more information. This seems to happen for any project that is a Visual C++ project. For instance, I created an empty VC++ clr project , and got the same results just trying to build that by itself with the <solution> tag. Also, the same results seem to occur for the beta .86 beta release from December, as well as the current source code. Thanks, Jacob > Hi, > > I just started trying to use nant, and am running into trouble > using the solution tag to try and build an existing solution (which > builds fine with VS 2005). > > Any help would be greatly appreciated. I can't figure out what the > error message is trying to tell me! > > Thanks! > > -Jacob > > The build log is below: > > NAnt 0.86 (Build 0.86.3030.0; dev; 4/18/2008) > Copyright (C) 2001-2008 Gerry Shaw > http://nant.sourceforge.net > > Buildfile: file:///C:/projects.trunk/QED.Net/buildall.build > Target framework: Microsoft .NET Framework 2.0 > Target(s) specified: buildall > > [echo] config: debug > > clean: > > > scripting: > > [solution] Starting solution build. > [solution] Loading projects... > [solution] Loading project > 'C:\projects.trunk\QED.Net\src\Scripting\lua\luainterface\src\LuaInterfa ce\LuaInterface.csproj'. > [solution] Loading referenced project > 'C:\projects.trunk\QED.Net\src\Scripting\lua\lua-5.1.2\lua511\lua511.vcp roj'. > > BUILD FAILED > > Project '' is not a valid Visual C++ project. > > Total time: 1.8 seconds. > > The build file that I am using is trivially simple: > > <?xml version="1.0" ?> > <project default="buildall"> > <property name="config" value="debug" overwrite="false" /> > <echo message="config: ${config}" /> > > <target name="clean"> > <delete failonerror="true"> > <fileset basedir="./bin/${config}" > > <include name="*.dll" /> > <include name="*.exe" /> > <include name="*.pdb" /> > </fileset> > </delete> > </target> > > <target name="buildall" depends="clean, scripting" /> > > <target name="scripting"> > <solution configuration="${config}" > solutionfile="src/Scripting/lua/Lua.Net.sln" verbose="true"> > </solution> > </target> > > </project> > > > ------------------------------------------------------------------------ - > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/j avaone > _______________________________________________ > 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/j avaone _______________________________________________ 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users