If i remember correctly, the <solution> task wasn't part of the 0.8.2 version of NAnt, it's a new task in the 0.8.3 version.
Nick
From: "Medcoff, Charles" <[EMAIL PROTECTED]> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Subject: [Nant-users] Problem with Solution Task with 0.8.2 on VW.NET 2003 Date: Fri, 18 Jul 2003 11:20:54 -0400
I'm new to NAnt and just downloaded and installed 0.8.2.
I've written a build file that includes a solution task but NAnt doesn't seem to know what it is. As a santity check I took the build file from the documentation and added a soltution task as shown below:
<?xml version="1.0"?>
<project name="Hello World" default="build" basedir=".">
<description>The Hello World of build files.</description> <property
name="debug" value="true"/>
<target name="clean" description="remove all generated files">
<delete file="HelloWorld.exe" failonerror="false"/>
<delete file="HelloWorld.pdb" failonerror="false"/>
</target>
<target name="build" description="compiles the source code">
<solution/>
<csc target="exe" output="HelloWorld.exe" debug="${debug}">
<sources>
<includes name="HelloWorld.cs"/>
</sources>
</csc>
</target>
</project>
but I observe the error:
Buildfile: file:///C:/workdir/solutionproblem.build
build:
BUILD FAILED C:\My Documents\VWCypressWeb\workdir\solutionproblem.build(9,4): Unknown task <solution>
More information was logged via log4net at level debug
Try 'nant -help' for more information
Any advice appreciated,
Regards, Chuck
------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
_________________________________________________________________
MSN Search, le moteur de recherche qui pense comme vous ! http://fr.ca.search.msn.com/
------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users