.Net / C # Build Tool - Is NAnt the preferred tool?

I am going to create an automatic build of a .net / C # project.

I searched the web quite a bit, and there are many links to this tool called NAnt.

My questions:

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

From the information on the sourceforge projects page, there seems to have been little development that has taken place in recent years. The same applies to the NAntContrib project.

Thanks!

+3
source share
4 answers

NAnt is widely used and has good support.

Visual Studio has its own build tool - MSBuild, built into the visual studio (project and solution files are MSBuild scripts). It has a large support base and several extensions with a community build task .

+7
source

MS Build Tasks is another opportunity to automate build processes.

+1
source
  • Is NAnt a good tool for this, is it still in use?

NAnt is still in use. I used it to automatically deploy an ASP.NET web application and its related services and database.

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

MSBuild is widely used. The advantage over NAnt is that it is included in .NET 2.0+. I also like massive functions and batch operations: http://msdn.microsoft.com/en-us/library/ms171473%28VS.80%29.aspx .


See also this related question: NAnt or MSbuild, which to choose and when? .

+1
source

Speaking of myself, yes NAnt is still in use. I have a standard build script that I can easily add to any new project. I do this for any new code that I plan to keep for a while.

NAnt is mature and is widely used in many projects. Most of its appeal is extensibility through custom tasks.

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

0
source

Source: https://habr.com/ru/post/1401922/


All Articles