本文介绍了在没有服务器端变通的情况下将VS2019与TFS2018 vnext构建系统一起使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近在尝试将VS2019与TFS2018 vnext构建系统一起使用时遇到问题。

I recently ran into a problem trying to use VS2019 with the TFS2018 vnext build system.

您无法在 Visual Studio Build步骤中选择VS2019,然后选择最新不使用Visual Studio 2019。

You cannot select VS2019 in the "Visual Studio Build" step, and selecting "Latest" does not use Visual Studio 2019.

在测试服务器上,将服务器软件从TFS 2018.3升级到Azure Devops Server 2019可以解决此问题。是否有一个简单的解决方法,可以使用Visual Studio 2019,而不会以可疑的方式影响TFS服务器。

On a test server, upgrading the server software from TFS 2018.3 to Azure Devops Server 2019 fixes the issue. Is there a simple work-around that would allow Visual Studio 2019 to be used without affecting the TFS server in a questionable way.

此问题在这里扩展了问题:

This question extends the question here: Using VS2019 with TFS2018 vnext build system

推荐答案

我尝试不使用Visual Studio Build步骤,而是尝试切换到MSBuild Build步骤,并将msbuild.exe的路径指定为

Instead of using the Visual Studio Build step, I tried switching to the MSBuild Build step and specified the path to msbuild.exe as follows:

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

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

构建成功运行并使用了Visual Studio 2019。

The build ran successfully and used Visual Studio 2019.

这篇关于在没有服务器端变通的情况下将VS2019与TFS2018 vnext构建系统一起使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 23:06