How to build a SSIS project (*.dtproj) using Visual Studio Build Tools 2019 on build server

孤人 提交于 2021-02-10 07:45:12

问题


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.

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.

Data storage and processing workload is installed.


回答1:


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

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' 

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



来源:https://stackoverflow.com/questions/56148794/how-to-build-a-ssis-project-dtproj-using-visual-studio-build-tools-2019-on-b

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!