2
votes

I am trying to create ClickOnce deployment on Azure DevOps release pipeline I create signature, manifest, application, deploy files with certificate But how can I create the exe and setup file (via Azure DevOps release pipeline)

1
The steps to create the setup.exe is simple, you may also check the pics in this issue to learn which task you need for build and deploy it.LoLance
Hi friend, is there any update for this issue? Feel free to let me know if the issue persists or not and I'm willing to help :)LoLance
i have this error when i publish manually with clickonce "xxx.application.deploy did not succeed."I create .deploy files for all files except manifest and application files.kadir kartal
Set the System.Debug=true and the run the pipeline again, then we can see the detailed log of this issue. Pelease consider sharing more details about your log in your question, I searched the error above but found nothing :(LoLance
during pipeline there is no error,it is succeed.but after when i run program from .application i see this error xxx.application.deploy did not succeed.But i do not need .application.deploy file .I have application,manifest and several .deploy fileskadir kartal

1 Answers

2
votes

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:

enter image description here

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.