Using VS2019 with TFS2018 vnext build system without server side work around

╄→尐↘猪︶ㄣ 提交于 2019-12-13 17:19:29

问题


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

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

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


回答1:


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

The build ran successfully and used Visual Studio 2019.



来源:https://stackoverflow.com/questions/58992370/using-vs2019-with-tfs2018-vnext-build-system-without-server-side-work-around

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!