Reputation: 699
I have a simple executable, that I have build and unittested in a build pipeline. now I want to install it on some test machines and run some tests on the app, before releasing it to production. (eventually I hope to automate the tests with specflow, but that is the next step)
So basically I have an helloworld.exe build, that I want to be installed from a pipeline to at test agent computer.
I think clickonce is the optimal option, but am unsure how to set it up on azure devops. (we use a server on premises)
Upvotes: 0
Views: 2201
Reputation: 19371
Msbuild has Publish
target to build and publish the ClickOnce application. It will generate the setup.exe
you want. Please check document: Create and build a basic ClickOnce application with MSBuild. 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.
Here is a ticket you can refer to .
In addition, azure devops Marketplace provides some extension: ClickOnce Packager, ClickOnceMore DevOps Pipeline Task.
Upvotes: 1