微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

如何在 Azure Devops 中使用 WIX 创建 .msi 安装程序?

如何解决如何在 Azure Devops 中使用 WIX 创建 .msi 安装程序?

我正在尝试使用 yaml 脚本在 azure devops 中为我的 dektop 应用程序创建一个带有 wix 的 .msi 安装程序包。下面是为此创建的 msbuild 任务:

- task: MSBuild@1
  inputs:
    solution: '**/*.wixproj'
#    platform: 'Any cpu'
    configuration: 'Release'
    msbuildArguments: '/p:Configuration=Release/p:ProductCode=${product_code} /p:UpgradeCode=${upgrade_code}/t:Clean;Rebuild'
    clean: true

以下是我在管道构建过程中遇到的错误

 Error MSB3441: Cannot get assembly name for "..\MyProject\bin\Release\MyProject.exe". Could not load file or assembly 'MyProject.exe' or one of its dependencies. The system cannot find the path specified.

提前致谢。

解决方法

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。