问题描述
上周在我的构建服务器上升级了Visual Studio 2017之后,不再使用MS Build 15.0.因此,每当我尝试编译使用新功能的Visual Studio 2017项目时,它们都会失败.
After upgrade of Visual Studio 2017 last week on my build server, the MS Build 15.0 is not in use anymore. So whenever I try to compile visual studio 2017 projects which use new feature they will fail.
构建日志中的警告为:
错误是:
我猜这是因为构建服务器正在使用MS build 14.0.
Which is because build server is using MS build 14.0 I guess.
到目前为止,我有1-卸载并在生成服务器上重新安装Visual Studio 2017.2-安装了"Visual Studio Build Tools 2017".
So far I have1- Uninstall and Reinstalled the Visual Studio 2017 on the build server.2- Installed "Visual Studio Build Tools 2017".
没有任何效果.我读过一些文章,显然缺少注册表值,但是我不知道如何创建它们.
And nothing works.I have read some articles and apparently there are missing registry values but I don't know how to create them.
感谢您对这个主题的帮助.
Appreciate your helps on this topic.
我正在使用TFS 2017 SP1(本地)和Visual Studio 2017最新更新.
I am using TFS 2017 SP1 (On premises) and Visual Studio 2017 latest updates.
推荐答案
感谢@ Patrick-MSFT和@Martin Ullrich的帮助.
Thanks to @Patrick-MSFT and @Martin Ullrich for your help.
这篇关于TFS 2017-生成服务器无法生成Visual Studio 2017的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!