Team Foundation Server 2018构建代理功能VS 2019 [英] Team Foundation Server 2018 Build agent Capabilities VS 2019

查看:247
本文介绍了Team Foundation Server 2018构建代理功能VS 2019的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们使用Team Foundation Server2018.自从升级到Visual Studio 2019以来,我一直在尝试将此功能添加到TFS 2018中,但没有成功.

We use Team Foundation Server 2018. Since our upgrade to Visual studio 2019 I have been trying to add this capability to TFS 2018, without any success.

TFS版本:2018(16.122.27102.1)

TFS version: 2018 (16.122.27102.1)

我已经尝试过重新配置代理,甚至添加一个新代理. 在TFS服务器上安装了Visual Studio 2019 +与2017进行了相同的检查.

I have already tried to reconfigure the Agent, or even add a new one. Visual studio 2019 is installed on the TFS server + has the same checks as the 2017.

在服务器上删除VS 2017也无济于事,然后找不到任何功能.

Deleting VS 2017 on the server doesn't help either, no capabilities found then.

要使TFS与VS2019一起使用,我需要执行任何提示/技巧吗?

Are there any tips/tricks that I need to perform to get TFS working with VS2019 build?

推荐答案

Team Foundation Server 2018 Build Agent功能VS 2019

Team Foundation Server 2018 Build agent Capabilities VS 2019

Visual Studio通常与Team Foundation Server的较新版本兼容.

The Visual Studio is generally compatible with newer versions of Team Foundation Server.

您可以在此处查看Microsoft指定的详细信息:要求和兼容性.

You can see the details specified by Microsoft here: Requirements and compatibility.

只有最新版本与最新团队具有完全"兼容性 Foundation Server ,因为它将是唯一包含以下内容的客户端 可以与该版本的新功能交互的组件,以及 也将是您可以执行某些操作的唯一客户端 管理任务,例如创建新的团队项目.

Only the latest version has "full" compatibility with the latest Team Foundation Server, because this will be the only client that contains components that can interface with new features for that release, and will also be the only client from which you can perform certain administrative tasks such as creating new team projects.

因此,Team Foundation Server 2018应该是VS 2019的高度支持,而不是完全支持.

So, the Team Foundation Server 2018 should be a high level of support VS 2019 not full support.

Team Foundation Server 2018代理无法识别vs2019和msbuild 16.0功能.然后,您将无法在VS构建任务的Visual Studio版本中选择Visual Studio 2019.因为TFS不知道如何找到将来的VS版本

Team Foundation Server 2018 Agent could not recognize vs2019 and msbuild 16.0 capabilities. Then you could not select the Visual Studio 2019 in the Visual Studio version of VS build task. Because TFS doesn't know how to locate future VS versions

要解决此问题,您可以使用MSBuild任务而不是Visual Studio Build Step,然后指定MSBuild 16.0的位置,它应该是:

To resolve this issue, you can use MSBuild task instead of Visual Studio Build Step, then specify the location of MSBuild 16.0, it should be:

C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe

希望这会有所帮助.

这篇关于Team Foundation Server 2018构建代理功能VS 2019的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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