TFS 2017 - VS 2017 15.5 更新后默认为 MSBuild 14。需要 MSBuild 15 回来
TFS 2017 - MSBuild 14 is default after VS 2017 15.5 update. Need MSBuild 15 back
我们的 TFS 2017 服务器/构建服务器,我们使用 "Visual Studio Installer" 更新了 Visual Studio 2017 到最新版本的应用程序 (15.5.27130) 以支持一些功能/修复。当我们进行该更新时,TFS 构建过程现在默认为 MSBuild 14.0,它没有我们在 MSBuild 15 中使用的 C# 功能。我尝试更新 TFS 2017 Update 3,以及完全卸载 VS 2017 并重新安装。没有什么不同。由于错误的 MS Build,我们所有的构建服务现在都失败了。这已经与 TFS 17、VS 17 一起工作了一年没有问题。
我可以在路径 "C:\Program Files (x86)\Microsoft Visual Studio17\Community\MSBuild.0\Bin"
中看到 MSBuild 15 可用
我的 TFS 构建定义也有 "Latest" 以及我 select 2017 - 但没有区别。
我在构建的输出中也看到了这一点:
怎么检测不到?如何更改默认值?
Note - I am not sure if this is the right place for Whosebug, but it is
development related with more people here that are familiar.
结果很简单...只需将构建代理更新到最新版本即可。参考:Visual Studio Developer Community problem report
我们的 TFS 2017 服务器/构建服务器,我们使用 "Visual Studio Installer" 更新了 Visual Studio 2017 到最新版本的应用程序 (15.5.27130) 以支持一些功能/修复。当我们进行该更新时,TFS 构建过程现在默认为 MSBuild 14.0,它没有我们在 MSBuild 15 中使用的 C# 功能。我尝试更新 TFS 2017 Update 3,以及完全卸载 VS 2017 并重新安装。没有什么不同。由于错误的 MS Build,我们所有的构建服务现在都失败了。这已经与 TFS 17、VS 17 一起工作了一年没有问题。
我可以在路径 "C:\Program Files (x86)\Microsoft Visual Studio17\Community\MSBuild.0\Bin"
中看到 MSBuild 15 可用我的 TFS 构建定义也有 "Latest" 以及我 select 2017 - 但没有区别。
我在构建的输出中也看到了这一点:
怎么检测不到?如何更改默认值?
Note - I am not sure if this is the right place for Whosebug, but it is development related with more people here that are familiar.
结果很简单...只需将构建代理更新到最新版本即可。参考:Visual Studio Developer Community problem report