.NET 构建过程

发布于 2024-08-29 17:48:20 字数 349 浏览 6 评论 0原文

我正在寻找最好的免费工具集,用于基于 MS 的构建过程。签出、构建、打包、测试、部署等。

我知道这个问题以前曾被问过,但那是两年多前的事了,在我们的世界里,这是一个永恒的问题。

我希望开发一种易于适应类似项目的模式。几乎就像一个模板/饼干切割系统。

我目前正在考虑使用 CruiseControl、Powershell、MSBuild 工具套件。

如果我们选择迁移到 4.0,会有问题吗?有更好的选择吗?局限性?或者说这些能满足我的需求吗?

我一直不满意的一点是包装过程。实际上,我们过去选择只使用 Visual Studio 部署项目,但这些项目非常*古老,我担心 WIX 对于实现它的人来说会太复杂。

All I am looking for the best free set of tools to be used in a MS Based build process. Checkout, Build, Package, Test, Deploy, etc.

I know this question has been asked before but it was over 2 years ago, and in our world that is an eternity.

I am looking to develop a pattern that is easily adapted to similar projects. Almost like a template/cookie cutter system.

I am currently looking into using CruiseControl, Powershell, MSBuild suite of tools.

If we choose to move to 4.0 will we have issues? Are there better alternatives? Limitations ? Or will these pretty much meet my needs.

One piece that i am never happy with is the process of packaging. We actually have opted in the past to just use Visual Studio Deployment Projects but those are very* ancient and my fear is WIX will be too complicated for the people implementing it.

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

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

发布评论

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

评论(6

我是男神闪亮亮 2024-09-05 17:48:20

我听说 Cruisecontrol.net 很流行,但我没有时间处理配置构建所需的 XML 文件。我选择了 teamcity,如果您只有 20 个或更少的项目,它是免费的。。它非常容易设置,因为它有 vs2005 和 vs2008 构建运行程序,只需要解决方案文件即可构建。我还让 nunit、ncover 和 fxcop 运行起来,没有出现太多问题。它适用于所有主要的 VCS,但在某些情况下它无法自动标记(不过 SVN 也可以)。我无法评论自动部署,但我相信它可以做到。最好是这样,因为这是我清单上的下一个,我在选择持续集成解决方案时确实考虑过这一点。

I hear that cruisecontrol.net is popular, but I didn't have the time to deal with the XML files needed to configure the build. I opted for teamcity, which is free if you only have 20 projects or less. It is very easy to set up because it has vs2005 and vs2008 build runners that just need the solution file to build. I also got nunit, ncover, and fxcop running without too many problems. It works with all of the major VCSes, though in some cases it cannot label automatically (SVN is okay though). I cannot comment on auto deployment but I believe it can do it. It had better, because this is next on my list and I did think about this when choosing a continuous integration solution.

不及他 2024-09-05 17:48:20

我的 TODO 列表中的一项是查看 Albacore,它提供了 .NET 任务Rake 实用程序。 Rake 使 Ruby 项目实现自动化的简单程度给我留下了深刻的印象。

One of the items on my TODO list is to look at Albacore, which provides .NET tasks for the Rake utility. I've been very impressed by how easy Rake makes automation for Ruby projects.

挽容 2024-09-05 17:48:20

CruiseControl.Net
xml配置并不难,而且非常可配置。
如果您可以通过命令提示符编写某些内容(batch、powershell、nant、msbuild...),您可以通过 CCNet 运行它。我什至用它来部署 70 多台服务器。这涵盖数据库升级、clickonce 应用程序、wcf 服务、SQL Server 报告......
我什至让 CCNet 备份 SQL 服务器,因为发布者可以轻松报告失败/成功。

CruiseControl.Net
the xml configuration is not that hard, and very configurable.
if you can script something via a commandprompt(batch, powershell, nant, msbuild, ...) you can ran it via CCNet. I use it even for deployment on 70+ servers. And this covers database upgrades, clickonce applications, wcf services, SQL Server Reports, ....
I let CCNet even take backup's of the SQL servers, because the pulishers make it easy to report failure / succes.

爺獨霸怡葒院 2024-09-05 17:48:20

源代码控制:mercurial

构建:MSBuild

CI 服务器:Hudson

Web 部署:Microsoft Web 部署

Source Control: mercurial

Build: MSBuild

CI Server: Hudson

Web Deployment: Microsoft Web Deploy

誰ツ都不明白 2024-09-05 17:48:20

CI 服务器:TeamCity

构建工具:NAnt

如果需要,您可以从 NAnt 调用 MSBuild,也可以直接从 TeamCity 执行 NAnt 脚本。对于大多数任务,TeamCity 即可满足您的需求。

CI Server: TeamCity

Build Tool: NAnt

You can shell out to MSBuild from NAnt if desired, and you can also execute NAnt scripts directly from TeamCity. For most tasks TeamCity is all you need.

夜雨飘雪 2024-09-05 17:48:20
  • Windows 计划任务
  • 批处理文件
  • Visual Studio(TFS)
  • NUnit
  • Installshield
  • 用于运行和记录其中每一个的命令行参数

优点:没有问题、完全可定制、完全控制构建过程、测试和部署

  • Windows Scheduled task
  • Batchfiles
  • Visual Studio(TFS)
  • NUnit
  • Installshield
  • Command line arguments to run and log each of those

Advantages: no issues, fully customizable, full control over the build process, tests and deployment

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