如何在构建服务器上使用 Visual Studio Build Tools 2019 构建 SSIS 项目 (*.dtproj) [英] How to build a SSIS project (*.dtproj) using Visual Studio Build Tools 2019 on build server

查看:138
本文介绍了如何在构建服务器上使用 Visual Studio Build Tools 2019 构建 SSIS 项目 (*.dtproj)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在尝试使用 Visual Studio Build Tools 2019 在我们的构建服务器上构建一个 SSIS 项目 *.dtproj.

We are trying to build an SSIS project *.dtproj on our build server using Visual Studio Build Tools 2019.

如果有人能就如何让它发挥作用提出建议,那就太好了.

Would be great if someone could give an advice on how to get it work.

在开发机器上,当使用 Visual Studio 2019 的 devenv.exe 时,它将构建项目,但在构建服务器上,我们只有构建工具.

On a dev machine when using devenv.exe from Visual Studio 2019 it will build the project but on the build server we have only the build tools.

数据存储和处理工作负载已安装.

推荐答案

您需要在生成服务器上安装 Visual Studio.

You need to have Visual Studio installed on the build server.

从 PowerShell 运行以下代码或针对 CMD 进行调整:

Run the following code from PowerShell or adjust for for CMD:

&'D:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\devenv.com'`
'D:\Source\solution.sln'`
/rebuild 'Debug' /Project  'D:\Source\project.dtproj'`
/ProjectConfig 'Development' /Out 'C:\Temp\build.log' 

有关构建服务器上 VS 许可的讨论链接:https://social.msdn.microsoft.com/Forums/vstudio/en-US/01ccff7b-07c1-4a0a-8312-c1f77703b5b5/visual-studio-licensing-on-build-server?forum=visualstudiogeneral

Link for discussion about licensing for VS on build server: https://social.msdn.microsoft.com/Forums/vstudio/en-US/01ccff7b-07c1-4a0a-8312-c1f77703b5b5/visual-studio-licensing-on-build-server?forum=visualstudiogeneral

这篇关于如何在构建服务器上使用 Visual Studio Build Tools 2019 构建 SSIS 项目 (*.dtproj)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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