The article written in the past is just in English. There is an accompanied project.build file, you can use the name of the project to replace ******, and plus the code update, the unit test, etc., you can do daily.
Start a new .net project by using nant
This Document Has 5 Sections:
Brief
System Requirement
Directories and Files
The Build File
Run Nant
Brief
Start a new .NET Project by Using Nant, So We can make Daily Building. All Have to do list Below:
1.Install .NET SDK1.0 AND New Version Nant, And make Nant Works.
2. Copy Directories and Files from Nproject (n for .NET) Template Library.
3. Make Project Files Stay in The Right Directory.
4.EDit the project.build file. Let it fit the project.
5.Run nant.
System Requirement
.NET SDK1.0 or HIGHER
Nant 0.84 or Higher
Directories and Files
You can make Directories yourself, or copy from template. But make Sure The Directory Tree Like this:
Every Directory Is Made for a Certain Kind of Files. Directory Names and What Kind of Files Should Be Put in List Below:
Directory Files SHOULD BE PUT IN
Build Building Files
Data Project's data files
DOC Project's Documents for Installation and Deploying
LIB Libraries Project Depending ON
RES Resources Project Using
Install Resources for Installation
SRC Project 'Source Files
Config Project's Configuration FILES
Database Project's Database Files
CS Project's C # Source Code Files
DOCS Project's Documents for Manager, Developer, Tester
Scripts Project's script files
SQL Project's Script Files for Database
Now put the .NET Files INTO The / SRC / CS Directory.
The Build File
The build file is /build/project.build. In the template we already have a default build file. Because every project has different name and configuration, so we must edit the build file to suit project. We must edit the project name and path In the build file.run nant
After doing what, count a command-line prospt, change path to ./build, and type nant. We can see a function list like this:
Now Nant Runs. We can Edit The Build File To Add New Features: Unit Testing, Packing, Deploying, ETC, as you like.
Project.build file content:
XML Version = "1.0"?>
target>
Using Solution Task ->
target>