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

查看:14
本文介绍了构建工具的选择: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!

更新:我已经阅读了这个问题,但第二个答案引起了我的关注.在构建机器上有多个.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 支持

推荐答案

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

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

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

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