【发布时间】:2012-12-08 22:25:18
【问题描述】:
Windows 7 64 位构建机器上的 Teamcity 7.1.3
该盒子目前正在愉快地构建存储在 TFS2005 服务器中的 VS2008 项目,但我正在尝试存储在 TFSPreview / TF 服务中的 VS2012 项目,我无法通过设置 VCS 根目录。
单击测试连接时,我得到以下信息..
Test connection failed in VS2012 Test against TFSPreview :: VS2012 - Build
Configuration for Hello World. TFS failed. ExitCode: 1
stdout: TFS Native Verifier v7.1 Copyright (C) 2006-2012 JetBrains s.r.o.
Running under .NET Framework 4.0.30319.17929
INFO - Use Tfs from JetBrains.TeamCity.Tfs.Tfs8Accessor
TFS Native Accessor v7.1 Copyright (C) 2006-2012 JetBrains s.r.o.
INFO - Connecting to server https://[our TFS Area].visualstudio.com/DefaultCollection
Connection test:
Server='https://[our TFS Area].visualstudio.com/DefaultCollection'
Username='[username email]'
Root='$/Hello World'
ERROR - The request failed with HTTP status 400: TF253023: You must update your client
with the Forward Compatibility Update in order to connect to the Team Foundation Server
that you selected. To obtain this update, go to the Microsoft Web site:
http://go.microsoft.com/fwlink/?LinkId=166482.
System.Exception: The request failed with HTTP status 400: TF253023: You must update
your client with the Forward Compatibility Update in order to connect to the Team
Foundation Server that you selected. To obtain this update, go to the Microsoft Web
site: http://go.microsoft.com/fwlink/?LinkId=166482. ---> System.Net.WebException: The
request failed with HTTP status 400: TF253023: You must update your client with the
Forward Compatibility Update in order to connect to the Team Foundation Server that you
selected. To obtain this update, go to the Microsoft Web site:
http://go.microsoft.com/fwlink/?LinkId=166482.
但是,在运行链接中指定的安装程序时,我收到以下消息:
The upgrade patch cannot be installed by the windows installer service because the
program to be upgraded may be missing, or the upgrade patch may update a different
version of the program. Verify that the program to be upgraded exists on your computer
and that you have the correct upgrade patch.
因此我被困住了。 :(
我还从 VS2005 TFS tfc 目录安装了 Team Foundation Explorer,目的是让我能够运行错误链接中的原始安装程序。但仍然是同样的错误。
我怎样才能克服这个错误?
非常感谢!
【问题讨论】:
-
您是否使用 TFS 2008 版本的 Team Explorer 连接到 TFS?如果是这样,您是否安装了 Visual Studio 2008 SP1。所有 VS 版本的前向兼容性更新都需要先应用 SP1,然后才能安装。
-
@James,我没有,没有。在尝试连接到 tfspreview/tf 服务之前,我们(仍然)使用 TFS2005 来保存 VS2008 项目,所以我已经安装了那个版本,因为我们与在任何地方安装的 TFS2008 没有任何关系。这是错的吗?我们在 Build Server 上安装了 VS2008,以便创建项目设置工具包,这确实是在 SP1。
-
TFS 似乎认为您正在尝试连接旧版本的 Team Explorer。但看起来 Jetbrains 也为 TFS 提供了一个原生插件。您可以尝试将 Team Explorer 2012 安装到构建服务器上,但这可能行不通。您至少可以使用它来测试从服务器到 TFS 的连接性,但我认为这不是问题
-
是的,Team Explorer 2012 现在安装在机器上,可以连接到 TF 服务区,所以连接不是问题,正如您所猜测的那样。还应用了 TFSIntegration 插件,但老实说,我真的不知道它是做什么的。无论如何,仍然处于相同的情况,即在 VCS Root 中测试连接要我安装 FCU,但我无法安装 FCU,因为它认为不存在要更新的底层软件。
标签: tfs teamcity teamcity-7.0 azure-devops