asp.net - Is there a basic, standard .build file for NAnt? -



asp.net - Is there a basic, standard .build file for NAnt? -

basically, i'm trying integrate cruisecontrol.net nant. i've got cc.net set up, i'm getting exception when tries build nant.

build failed - not find '*.build' file in 'c:\inetpub\myproject\'

okay, no big deal, have create build file. not sure is, found 1 in helloworld illustration came nant, looks this:

<project name="hello world" default="run"> <property name="basename" value="helloworld"/> <property name="debug" value="true"/> <target name="clean"> <delete> <fileset> <include name="bin/${basename}-??.exe"/> <include name="bin/${basename}-??.pdb"/> </fileset> </delete> </target> <target name="build"> <mkdir dir="bin" /> <csc target="exe" output="bin/${basename}-cs.exe" debug="${debug}"> <sources> <include name="${basename}.cs"/> </sources> </csc> <jsc target="exe" output="bin/${basename}-js.exe" debug="${debug}"> <sources> <include name="${basename}.js"/> </sources> </jsc> <vbc target="exe" output="bin/${basename}-vb.exe" debug="${debug}"> <sources> <include name="${basename}.vb"/> </sources> </vbc> </target> <target name="run" depends="build"> <exec program="bin/${basename}-cs.exe" basedir="."/> <exec program="bin/${basename}-js.exe" basedir="."/> <exec program="bin/${basename}-vb.exe" basedir="."/> </target> </project>

there's lot more content in file expecting. tried searching around find out meant, required, etc. couldn't find anything.

is there basic , standard file use? want build entire application, nil crazy.

nant's tasks , attributes described here: nant help

task reference

also,

a brief introduction nant nant starter series

this article has template:

the anatomy of nant build file

plus, previous question:

simple helloworld build script

asp.net cruisecontrol.net nant

Comments

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

c++ - compiler errors when initializing EXPECT_CALL with function which has program_options::variables_map as parameter -

How do I check if an insert was successful with MySQLdb in Python? -