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

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

问题描述

我有 VSTS Build,它将使用 .vdproj 生成 .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.

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

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

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

我尝试了一些方法,我从 VS 安装程序项目安装了名为 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 不支持项目文件abcdSetupabcdSetup.vdproj"并且无法构建

I am getting the Warning MSB4078: The project file "abcdSetupabcdSetup.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 "abcdSetupabcdSetup.vdproj" is not supported by MSBuild and cannot be build

That the reason why you got the error Warning MSB4078: The project file "abcdSetupabcdSetup.vdproj" is not supported by MSBuild and cannot be built

有没有什么办法可以在不设置.msi的情况下生成.msiVSTS 中的私人代理?请让我知道是否有任何可用的任务.

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中不设置Private agent,恐怕没有办法生成.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\_work9sSetup1UpgradeLog.htm

我在没有安装 Visual Studio 安装程序项目扩展的情况下在私人代理和本地 PC 上对其进行了测试,并得到了相同的结果.然后我在本地 PC 上安装了该扩展程序,它运行良好.因此,如果我们要构建安装项目,我们必须安装 Visual Studio 安装程序项目扩展.

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天全站免登陆