TFS 源代码绑定问题

TFS source code binding issue

我已将 VSS 2005 中控制的 MVC4 Web 应用程序版本迁移到 TFS 2015,并且迁移成功。

然后我尝试在VS 2010中打开项目(因为VS2015不支持) 它给了我以下错误。如何成功连接到TFS

错误信息:

The solution appears to be under source control, but its binding information cannot be found. It is possible that the MSSCCPRJ.SCC file or another item that holds the source control settings for the solution, has been deleted. Because it is not possible to recover this missing information automatically, the projects whose bindings are missing will be treated as not under source control.

使用:

打开文件 - 源代码管理 - 更改源代码管理... Select 所有项目,然后单击 绑定... 按钮。如果文件在有效的 TFS 工作区中,那应该 re-create 绑定。

由于您要混合搭配 VS2010 和 VS2015,您可能首先需要将工作区设置为 "Server",而不是 2015 年的默认值 "Local"。 VS2010 不支持本地工作区。您只能从 Visual Studio 2015 年更改此设置。