gpt4 book ai didi

deployment - Azure DevOps 发布管道上的 ClickOnce 部署

转载 作者:行者123 更新时间:2023-12-04 10:21:20 25 4
gpt4 key购买 nike

我正在尝试在 Azure DevOps 发布管道上创建 ClickOnce 部署
我创建签名、 list 、应用程序、使用证书部署文件
但是如何创建 exe 和安装文件(通过 Azure DevOps 发布管道)

最佳答案

But how can I create the exe and setup file (via Azure DevOps release pipeline)



查看文档 Build ClickOnce applications from the command line : Msbuild 有 Publish目标来构建和发布 ClickOnce 应用程序。它将生成 setup.exe你要。查看类似提示 here .

以上都是关于在本地机器上做的,要在发布管道中做类似的工作,你可以使用 msbuild taskVisual Studio TaskPublish目标( /t:Publish 作为参数)。

然后你会得到一个 app.publish您想要的文件存在的文件夹:

enter image description here

此文件夹可用于您的进一步部署。

另外:

如果您遇到类似 Unable to find manifest signing certificate in the certificate store 的错误, 请查看 this issue 中的建议.

关于deployment - Azure DevOps 发布管道上的 ClickOnce 部署,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60829530/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com