How to build Visual Studio Setup projects (.vdproj) with TFS 2010 Build ?

对着背影说爱祢 提交于 2019-12-25 07:26:19

问题


We have a solution that contains VS (2013) setup projects. Apparently MSBuild does not support building such projects so we have to run the build manually through dev machines. I saw the following link that shows a workaround:

http://colinsalmcorner.com/post/building-vs-2015-setup-projects-in-team-build#comments

BUT we would like NOT to install VS on our build machine.

Is there a way to workaround this problem? What is the best way to build setup projects in a build machine? Thanks


回答1:


Team Build 2010 invokes MSBuild to build project on build agent machine by default. If one project don’t support MSBuild to build it, we need provide a compiler which can build this project, and this compiler support run the command line to invoke it, so we can add the InvokeProcess activity(execute the command line) to invoke that compiler to build this project in build process template.

If VS is the compiler you build this setup project, then it's needed to be installed on your build machine.

Building Visual Studio Setup Projects with TFS 2010 Team Build: http://blog.ehn.nu/2010/05/building-visual-studio-setup-projects-with-tfs-2010-team-build/



来源:https://stackoverflow.com/questions/37719295/how-to-build-visual-studio-setup-projects-vdproj-with-tfs-2010-build

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