views:

166

answers:

4

I'm about to set up an automatic build of a .net/C# project.

I've searched the net quite a bit, and there are a lot of references to this tool called 'NAnt'.

My questions are:

  • Is NAnt considered a good tool for this, is it still used?
  • Are there other toos that are the de facto standard for such a task?

From the information on the projects's sourceforge page, it doesn't seem to have been much development going on the lates years. The same applies to the NAntContrib project.

Thanks!

+1  A: 

MS Build Tasks is another option to automate the build processes.

lakhlaniprashant.blogspot.com
+6  A: 

NAnt is widely used and has good support.

Visual studio comes with its own build tool - MSBuild, that is built into visual studio (project and solution files are MSBuild scripts). It has a large support base and multiple extensions with community build tasks.

Oded
Actually, it is not *part* of Visual Studio per se. It is part of the .Net Framework.
Peter Lillevold
A: 

Speaking for myself, yes NAnt is still used. I have a standard build script that I can easily add to any new project. I do this for any new code that I am planning on keeping around for a while.

NAnt is mature and widely used in many projects. A big part of its appeal is its extensibility via custom tasks.

The project does seem to have stalled, but apparently it is still alive and kicking, according to this post. There is some talk of a roadmap for the fuuture, and a new version as well.

Grant Palin
+1  A: 
  • Is NAnt considered a good tool for this, is it still used?

NAnt is still used. I have used it for automated deployment of an ASP.NET web application and related services and database.

  • Are there other tools that are the de facto standard for such a task?

MSBuild is widely used. An advantage over NAnt is that it is included in .NET 2.0+. I also like the array-like features and batching: http://msdn.microsoft.com/en-us/library/ms171473%28VS.80%29.aspx.


See also this related question: http://stackoverflow.com/questions/476163/nant-or-msbuild-which-one-to-choose-and-when.

Ole Lynge