.Net/C# 构建工具 - NAnt 是首选工具吗?

发布于 2024-08-25 06:58:26 字数 1432 浏览 5 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

八巷 2024-09-01 06:58:26

NAnt 使用广泛并且有良好的支持。

Visual Studio 附带了自己的构建工具 - MSBuild,它内置于 Visual Studio 中(项目和解决方案文件是 MSBuild 脚本)。它拥有庞大的支持基础和多个社区扩展构建任务

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.

羁客 2024-09-01 06:58:26

MS Build Tasks 是自动化构建过程的另一个选项。

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

忱杏 2024-09-01 06:58:26
  • NAnt 被认为是一个很好的工具吗?它还在使用吗?

NAnt 仍在使用。我已使用它来自动部署 ASP.NET Web 应用程序以及相关服务和数据库。

  • 是否有其他工具是此类任务的事实上的标准?

MSBuild 被广泛使用。相对于 NAnt 的一个优点是它包含在 .NET 2.0+ 中。我也喜欢类似数组的功能和批处理: http ://msdn.microsoft.com/en-us/library/ms171473%28VS.80%29.aspx


另请参阅此相关问题: NAnt 或 MSBuild,选择哪一个什么时候?

  • 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: NAnt or MSBuild, which one to choose and when?.

我早已燃尽 2024-09-01 06:58:26

就我自己而言,是的,NAnt 仍在使用。我有一个标准的构建脚本,可以轻松地将其添加到任何新项目中。我对任何我计划保留一段时间的新代码都这样做。

NAnt 已经成熟并广泛应用于许多项目中。它的一大吸引力在于它通过自定义任务的可扩展性。

该项目似乎确实陷入了停滞,但根据 this 的说法,它显然仍然活跃且活跃。发布。有一些关于未来路线图和新版本的讨论。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文