hello e'body,

I am a newbie to nant. I'm trying to write a build file for a simple
project. The project xyz depends on abc.dll . How do i go about doing
that. Given below is my current .build file for xyz, which is giving
the following errors:

error CS0234: The type or namespace name 'abc' does not exist in the class
(are you missing an assembly reference?)


My .build file is as follows:

<?xml version="1.0"?>

<project name="xyz" default="build" basedir=".">

    <description>The xyz build file.</description>
    <property name="debug" value="true" overwrite="false" />

    <target name="clean" description="remove all generated files">
        <delete file="xyz.dll" failonerror="false" />
    </target>

    <target name="build" description="compiles the source code">
        <csc target="library"
             output="xyz.dll"
             debug="${debug}">
            <sources>
                <include name="*.cs" />
            </sources>
            <references>
                <include name="System.dll" />
                <include name="System.Web.dll" />
                <include name="System.XML.dll" />
            </references>
        </csc>
    </target>

</project>

Thanks in advance,
Pritesh


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to