TFS ANT项目文件选项未出现 [英] TFS ANT project file option not appearing

查看:123
本文介绍了TFS ANT项目文件选项未出现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



当我尝试创建新的构建定义时,我没有任何选项来定义ANT和它的构建FIle。我在VS 2015。


请指导


谢谢

解决方案

< blockquote>

Hi Nitin,


如果您使用的是VNext版本,则有
可以使用Apache Ant构建的Ant步骤/任务


如果您正在使用XAML构建,则需要自定义构建处理模板以调用命令/工具来构建Ant项目。 
您可以使用内置活动(例如InvokeProcess)或自定义活动。


#自定义构建过程模板


#如何在命令行中执行Ant构建


BTW:如果有不是项目文件夹中的构建文件,您需要自己创建。


问候


Starain


Hi,

When I am trying to create a new Build Definition, I am not getting any option to define ANT and its build FIle. I am in VS 2015.

Please guide

Thanks

解决方案

Hi Nitin,

If you are using VNext build, there is Ant step/task that can build with Apache Ant.

If you are using XAML build, you need to custom build process template to call command/tool to build Ant project.  You could use built-in activity (e.g. InvokeProcess) or custom activity.

# Customize your build process template

# How to execute Ant build in command line

BTW: If there isn't the build file in your project folder, you need to create it by yourself.

Regards

Starain


这篇关于TFS ANT项目文件选项未出现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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