构建工具的选择:MSBuild、NANT 或其他什么? [英] Choice for build tool: MSBuild, NANT or something else?

查看:22
本文介绍了构建工具的选择:MSBuild、NANT 或其他什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的公司从事自动化工作.我们是一个 C# 工作室.目前我正在研究自动化构建.NANT 是流量控制工具.虽然 NANT 并未积极开发(最后一个二进制文件发布于 2012 年 6 月,并且 github 存储库未处于活动状态),但 MSBuild 更好.因此,我更喜欢 MSBuild,但停用 NANT 仍然值得怀疑 - 成本是多少?

I am doing automation in my company. We are a C# workshop. Currently I am working on automated build. NANT is flow control tool. While NANT is not actively developed (last binary released on June 2012 and github repo is not active), MSBuild is better. Therefore, I prefer MSBuild but retiring NANT is still questionable - what is the cost?

我已经提出了一些优点和缺点,但我知道集体智慧更好.感谢您的帮助!

I have come up with some pros and cons, but I know collective intelligence is better. Thanks for your help!

更新:我已经阅读了这个问题,但第二个答案引起了我的关注.build机上有多个.NET框架,会不会很麻烦?

Update: I have read the question, but the second answer rises a concern for me. On build machine there are multiple .NET frameworks, will it be troublesome?

MSBuild

优点:

  • 商业支持
  • 社区正在发展
  • 与 VS 和 TFS 集成
  • 与 .Net 保持同步

缺点:

  • 重写当前脚本
  • 不熟悉的人

南特

优点:

  • 已投入使用
  • 熟悉的人

缺点:

  • 很长时间没有更新(自 2012 年以来)
  • 社区不活跃
  • 缺乏新的 .Net 支持

推荐答案

感谢所有回答.我们决定使用 Cake,因为我们是一个 C# 工作室.

Thanks for all answers. We have decided to use Cake since we are a C# workshop.

这篇关于构建工具的选择:MSBuild、NANT 或其他什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆