Hello,

 

I have a target defined in a MyNAntExtensions.build file, like this:

 

    <target name="build" description="Build the SlickEdit.Build.Tasks.dll">

        <mkdir dir="${build.output_dir}"/>

        <csc target="library" output="${build.output_dir}\${build.output_file}" debug="${build.debug}" define="${build.defines}" filealign="4096">

            <sources>

                <include name="**/*.cs"/>

            </sources>

            <references>

                <include name="${nant.dir}/bin/NAnt.Core.dll" />

            </references>

        </csc>

    </target>

 

The target runs whenever any of the .cs source files have changed, like I would expect. I would also like the target to run whenever the .build file itself has changed. Can someone please tell me how I could accomplish this? Thanks.

 

-Parag Chandra

Reply via email to