开发者

What are the benefits of using NAnt instead of MSBuild?

开发者 https://www.devze.com 2023-03-18 22:29 出处:网络
Cursory reading about bo开发者_运维知识库th tools leads me to believe they do similar things: manage build tasks which means they do operations that support taking source inputs and ultimately produci

Cursory reading about bo开发者_运维知识库th tools leads me to believe they do similar things: manage build tasks which means they do operations that support taking source inputs and ultimately producing runnable outputs.

As of the .NET Framework 2.0 MSBuild.exe was included with the Framework and can be invoked without Visual Studio.

Are there benefits of NAnt over MSBuild, or are they just two competing tools that have different relevancy?


If you can use MSBuild 4.0 (which added property functions and inline tasks, last things that were available in NAnt but not in MSBuild) - none. Microsoft has finally caught up to a project that has been dormant since 2007...

NAnt was created because, between 2001 (first public .Net beta) and 2005 (MSBuild first release), there was no official build tool available. It filled an important niche, and did it well. However, now it's probably best to stick to the Microsoft tool - you get support, Visual Studio integration, and it even runs on Mono.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号