如何在VSTS Release管道清空进程中执行exe [英] How to execute exe in VSTS Release pipeline empty process
本文介绍了如何在VSTS Release管道清空进程中执行exe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有.Net解决方案项目,它有多个项目,其中几个是控制台应用程序.我想在发布管道中执行一个控制台应用程序作为空进程下的任务.
I have .Net Solution project it has multiple projects few of them are console application. I want to execute one of the console application during my release pipeline as task under empty process.
如何从构建工件中引用.exe?
How can I refer the .exe from my build artifact?
推荐答案
在发布管道中添加命令行"任务,在工具"字段中从工件位置指定控制台应用程序的.exe,例如: "$(Agent.ReleaseDirectory)\Tools\ConsoleApp.exe"
.
Add "Command Line" task during the release pipeline, in the "Tool" field specify the .exe of the console application from your artifact location, for example: "$(Agent.ReleaseDirectory)\Tools\ConsoleApp.exe"
.
这篇关于如何在VSTS Release管道清空进程中执行exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文