我正在尝试在 Azure DevOps 发布管道上创建 ClickOnce 部署我创建签名、清单、应用程序、使用证书部署文件但是我如何创建 exe 和安装文件(通过 Azure DevOps 发布管道)
But how can I create the exe and setup file (via Azure DevOps release pipeline)
Check document Build ClickOnce applications from the command line : Msbuild has Publish
target to build and publish the ClickOnce application. It will generate the setup.exe
you want. See similar hint here .
And all above is about doing that in local machine, to do similar job in release pipeline you can use msbuild task or Visual Studio Task with Publish
target( /t:Publish
as argument).
Then you'll get one app.publish
folder where the files you want exist there:
This folder can be used for your further deployment.
In addition:
If you meet error like Unable to find manifest signing certificate in the certificate store
, please check the suggestions in this issue .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.