在TFS2015上创建新的构建定义:Build-& gt; Test-& gt; Release [英] Create New Build Definition on TFS2015:Build->Test->Release

查看:55
本文介绍了在TFS2015上创建新的构建定义:Build-& gt; Test-& gt; Release的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将.NET项目从VS2010迁移到VS2015,我需要有关在TFS2015上创建新构建定义的帮助并执行 - >测试 - >发布。

I have migrated .NET project from VS2010 to VS2015 and I need help on Created new build definition on TFS2015 and execute ->Test ->Release.

任何人都可以一步一步地向我提供流程然后我也可以按照相同的步骤。

Can any one provide me process in step by step then i can follow the same.

谢谢

Subramanyam

Subramanyam

+ 91-9967970183

+91-9967970183

推荐答案

Hi Subramanyam,

谢谢你在这里发帖。

<温泉n style ="line-height:150%; FONT-FAMILY:"宋体",无衬线;字体大小:11pt">你对"执行","测试"和"发布"的意思是什么?你想使用Vnext Build吗?请更详细地描述你的问题。

在Vnext构建中,您可以使用
Visual Studio Build 任务来构建解决方案。如果要发布文件,可以指定MSbuild参数:$ b构建任务中的$ b / p:DeployOnBuild = true; PublishProfile = Name 。然后使用
Visual Studio测试运行测试。

In Vnext build, you could use Visual Studio Build task to build the solution. If you want to publish the files you could specify the MSbuild arguments: /p:DeployOnBuild=true;PublishProfile=Name in the build task. Then use the Visual Studio Test to run test.

最后,如果你想在IIS上部署项目,你可以使用任务
WinRM-IIS Web App部署任务来使用这个任务,你需要首先安装

扩展程序

Finally, if you want to deploy the project on IIS, you could use the task WinRM-IIS Web App Deployment task, to use this task, you need to install the extension first.

如果您想尝试在Vnext构建中使用build-deploy-test工作流程,可以参考以下主题:

https://social.msdn.microsoft.com/Forums/vstudio/en-US/7f6e0393-14cf-405e-84cb-848efdb45cda/does-vnext- build-support-the-deploy-and-test-workflow-?forum = tfsbuild

最好的问候

Limitxiao Gao


这篇关于在TFS2015上创建新的构建定义:Build-&amp; gt; Test-&amp; gt; Release的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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