如何在visual studio中创建运行自定义可执行文件的构建定义? [英] How to create a build definition in visual studio online that runs a custom executable?

查看:135
本文介绍了如何在visual studio中创建运行自定义可执行文件的构建定义?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有一个项目,我想构建并运行一些静态工具作为构建的一部分在线视觉工作室中的过程。


如何在visual studio online中的构建过程步骤中添加自定义可执行文件。一个例子将不胜感激。


谢谢。




Komal。

解决方案

您好komal436,


感谢您在此处发帖。


>>> 如何在Visual Studio online中创建运行自定义可执行文件的构建定义?


AFAIK,您可以在Visual Studio Online的构建过程步骤中添加命令行任务以运行自定义可执行文件。请查看以下文档了解详细信息:


https://docs.microsoft.com/en-us/vsts/build-release/tasks/utility/command-line?view=vsts


此外,如果以上不符合您的要求,我建议您可以使用VSTS标记在stackoverflow上打开一个新线程。由于此论坛是关于MSBuild和MSDN上的VSTS论坛被锁定。


如果您有一些MSBuild问题,请随时与我们联系。我们将尽力为您提供解决方案。


感谢您的理解与合作。



Hi,

I am having a project which i want to build and run some static tools as part of the build process in visual studio online.

How can one add a custom executable in the build process step in visual studio online. An Example would be appreciated.

Thanks.


Komal.

解决方案

Hi komal436,

Thanks for posting here.

>>>How to create a build definition in visual studio online that runs a custom executable?

AFAIK, you could add a command line task in the build process step in Visual Studio Online to run a custom executable. Check following document for details:

https://docs.microsoft.com/en-us/vsts/build-release/tasks/utility/command-line?view=vsts

Besides, if above not match your request, I suggest that you can open a new thread on the stackoverflow with VSTS tag. Since this forum is about MSBuild and VSTS forum on MSDN was locked.

If you have some MSBuild questions, please feel free to contact us. We will try our best to give you a solution.

Thanks for your understanding and cooperation.


这篇关于如何在visual studio中创建运行自定义可执行文件的构建定义?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆