MS Build在线代理 [英] MS Build Online Agent

查看:74
本文介绍了MS Build在线代理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在.Net framework 4.6中开发了应用程序,而我们的TFS版本是2010.我们听说过TFS2010,我们无法构建.Net Framework 4.6。那么还有其他的工作来为我们的应用程序配置构建吗?我们正在使用VS2017。提前感谢你。

we have applications developed in .Net framework 4.6 and our TFS version is 2010. We heard with TFS2010, we cannot build .Net Framework 4.6. So is there any other work around to configure build for our applicaton? we are using VS2017. Thanking you in advance.

问候

Pulikkan

推荐答案

Hi Pulikk,

Hi Pulikk,

感谢此处发布。

>>>  ; 那么还有其他方法可以为我们的应用程序配置构建吗?

>>> So is there any other work around to configure build for our application?

技术上,是的。您需要更新构建工作流以调用新版本的MsBuild(位于程序文件中),并且除非您为它们创建自定义活动,否则运行测试等功能将无法运行。您可以尝试以下步骤:

Technically, yes. You will need to update the build workflow to call the new version of MsBuild (located in Program files) and features like running tests will not work unless you create custom activities for them. You can try to below steps:

1。下载构建模板

2.在VS中打开构建模板

3.找到MSBuild活动(例如,运行项目的MSBuild)并更改ToolPath属性。

4.保存并将此构建模板添加到源代码管理中$
5.更改构建定义以使用此构建模板和队列构建。

1. Download the build template
2. Open build template in VS
3. Find MSBuild activity (e.g. Run MSBuild for Project) and change ToolPath property.
4. Save and add this build template to source control
5. Change build definition to use this build template and queue build.

有关详细信息,请参阅以下文档:

For the detail information, you can refer to below document:

解决升级时可能出现的问题

Resolve issues that can occur when you upgrade

希望这会有所帮助。

Hope this helps.


这篇关于MS Build在线代理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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