MSBuild/Visual Studio分布式版本 [英] MSBuild / Visual Studio distributed builds

查看:100
本文介绍了MSBuild/Visual Studio分布式版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发/维护的应用程序构建时间很长(例如,完整的构建过程要花费六个多小时!).在花费了一天的大部分时间来构建我们的应用程序之后,我开始研究缩短构建时间的方法.关于此堆栈问题的建议 是:

  • 修复编译警告
  • Unity构建(针对开发人员)
  • 分布式版本

我想了解更多有关如何为MSBuild/Visual Studio构建系统执行第三个选项(分布式构建)的信息.

解决方案

去看看 http://www. xoreax.com/用于Incredibuild. 它不是免费的,但是我们使用它,它给人留下了深刻的印象.它很好地集成到Visual Studio中,并且非常易于使用.您有时会遇到问题,但这绝对值得一看.

在Visual Studio中安装后,其原理是使用使用Incredibuild构建解决方案"菜单项,而不使用构建解决方案"菜单项.所有需要的文件都透明地传输到远程计算机,然后将输出文件下载回去.

I develop / maintain an application that takes a long time to build (as in, a full build takes in excess of six hours!). After having spent most of the day building our application I've started looking into ways of improving build time. The suggestions on this Stack Overflow question were:

  • Fixing compile warnings
  • Unity builds (for developers)
  • Distributed builds

I'd like to know more about how to do the third option (distributed builds) for a MSBuild / Visual Studio build system.

解决方案

Go have a look at http://www.xoreax.com/ for Incredibuild. It is not free, but we use it and it's pretty impressive. It is well integrated into Visual Studio and extremely simple to use. You can run into a problem every now and then, but it's definitely worth a look.

Once it's installed, in Visual Studio, the principle is to use the "Build solution with Incredibuild" menu entry instead of the "build solution" one. All needed files are transparently transferred to distant computers and output files are downloaded back.

这篇关于MSBuild/Visual Studio分布式版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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