MSbuild 是否需要在构建服务器上安装 Visual Studio? [英] Does MSbuild require Visual Studio to be installed on the build server?

查看:25
本文介绍了MSbuild 是否需要在构建服务器上安装 Visual Studio?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们可以在没有 Visual Studio 2012 的情况下使用 MSBuild 吗?

Can we use MSBuild without Visual Studio 2012?

目前,我们有一个构建服务器,我们正在其中编译和创建我们的一个项目的部署副本,它安装了 Visual Studio 专业版.我们现在正在设置一个新的构建服务器.我们真的需要在新的构建服务器上安装 Visual Studio 2012 吗?

Currently, we have a build server where we are compiling and creating deployment copy of one of our projects, it has Visual Studio Professional Edition installed. We are setting up a new build server now. Do we really need Visual Studio 2012 on the new build server?

如果是,那么如何?我用谷歌搜索了它,但我找不到答案.

If yes, then how? I googled it but I couldn't find an answer.

推荐答案

不,您的构建框不需要 Visual Studio.如果我没记错的话,msbuild 是作为 .NET 框架的一部分安装的——它确实曾经是.

No, you don't need Visual Studio on your build box. If I recall correctly, msbuild is installed as part of the .NET framework - it certainly used to be.

根据您正在构建的内容,您可能会发现有一些的东西如果您确实安装了 Visual Studio 会更容易开始工作 - 诸如可移植类库配置文件之类的东西.虽然通常有非 VS 安装程序可用,但我发现安装 快速版 Visual Studio 只是为了获得捆绑的构建目标.

Depending on what you're building, you may find that there are some things which are easier to get working if you do install Visual Studio though - things like portable class library profiles. While there are usually non-VS installers available, I've found it simpler to install an Express edition of Visual Studio just to get the bundled build targets.

这篇关于MSbuild 是否需要在构建服务器上安装 Visual Studio?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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