VSTS构建未使用.vdproj生成.msi文件 [英] VSTS build is not generating .msi file using .vdproj

查看:98
本文介绍了VSTS构建未使用.vdproj生成.msi文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有VSTS Build,它将使用.vdproj生成.msi文件,但是我没有从构建中获取.msi文件.

I have VSTS Build which will generate the .msi file using .vdproj but I am not getting the .msi file out of the build.

我得到了Warning MSB4078: The project file "abcdSetup\abcdSetup.vdproj" is not supported by MSBuild and cannot be built.

我正在使用Visual Studio构建任务和MS构建任务来生成.msi.

I am using Visual studio build task and MS build task to generate the .msi.

我尝试了一些方法,并从VS安装程序Project中安装了名为create .msi文件的第三方任务.

I have tried some ways and I installed third part task called create .msi file from VS installer Project.

我已附上用于生成此.msi文件的所有任务的快照.

I have attached the Snapshot of all the tasks using to generate this .msifile.

请看一下并在此方面为我提供帮助,同时也请告诉我们VSTS中是否有任何任务可以创建.msi文件.

Please have a look and help me on this and also do let us know is there any task available in VSTS to create .msi file.

推荐答案

我收到警告MSB4078:MSBuild不支持项目文件"abcdSetup \ abcdSetup.vdproj",并且无法构建

I am getting the Warning MSB4078: The project file "abcdSetup\abcdSetup.vdproj" is not supported by MSBuild and cannot be built

那是因为MSBuild/Visual Studio不支持安装项目.要与Azure DevOps集成,您将必须使用devenv.

That because MSBuild/Visual Studio does not have support for setup projects. To integrate with Azure DevOps, you will have to use devenv.

注意:从VS 2013开始,外接程序提供对.vdproj的支持.

Note: starting VS 2013, .vdproj support is provided by an add-in.

那是您得到错误Warning MSB4078: The project file "abcdSetup\abcdSetup.vdproj" is not supported by MSBuild and cannot be built

有没有什么方法可以生成.msi而无需设置 VSTS中的私人代理?请让我知道有没有可用的任务.

Is there any way that we can generate .msi without setting up the Private agent in VSTS ? Please let me know is there any task available.

恐怕没有这种方法可以在没有在Azure DevOps中设置私有代理的情况下生成.msi,否则,我们将始终收到错误消息:

I am afraid there is no such way you can generate .msi without setting up the Private agent in Azure DevOps, otherwise, we will always get the error:

Some errors occurred during migration. For more information, see the migration report: C:\VSTS-vs2017-agent\_work\9\s\Setup1\UpgradeLog.htm

我在不安装Visual Studio Installer项目扩展的情况下在Private Agent和本地PC上对其进行了测试,并得到了相同的结果.然后,我将该扩展程序安装在本地PC上,并且工作正常.因此,如果要构建安装项目,则必须安装Visual Studio Installer项目扩展.

I test it on the Private agent and local PC without installing the Visual Studio Installer Projects extension and got the same result. Then I installed that extension on the local PC and it works fine. So, we have to install the Visual Studio Installer Projects extension, if we want to build the setup projects.

希望这会有所帮助.

这篇关于VSTS构建未使用.vdproj生成.msi文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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