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

Reply via email to