我正在尝试使用wix为我的桌面应用程序在Azure DevOps中使用yaml脚本创建.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.
提前致谢。