1

在我的 VS Professional 2013 中,我从源代码管理工作区复制并粘贴了一个解决方案到我的桌面,但每次打开解决方案时,我都会收到以下消息:

The mappings for the solution could not be found.
The mappings for the solution could not be found.
The mappings for the solution could not be found.
The mappings for the solution could not be found.
The active solution has been temporarily disconnected from source control because the server is unavailable.  To attempt to reconnect to source control, close and then re-open the solution when the server is available.  If you want to connect this solution to another server, use the Change Source Control dialog.

如何从解决方案中完全删除与 TSF 相关的所有内容?

我已经从类似问题的答案中尝试了以下建议:

  • 在解决方案资源管理器中选择解决方案,然后转到文件菜单。在文件菜单下,您会看到一个源代码管理菜单。在它下面你会看到更改源代码控制。选择它,然后在出现的对话框中选择“取消绑定”。

  • 删除 *.vsscc、*.vspscc、文件。用记事本打开 .sln 文件并擦除GlobalSection(TeamFoundationVersionControl) ... EndGlobalSection

4

1 回答 1

0

有一个工具可以从 msdn 的 Visual Studio 解决方案和项目中删除源代码控制绑定:http: //blogs.msdn.com/b/saveenr/archive/2012/08/11/a-tool-to-remove-source-控制绑定-来自-visual-studio-solutions-and-projects.aspx

如何使用该工具:

•将您的解决方案复制到新目录(因为该工具会修改文件)

•运行此命令:VSUnbindSourceControl.exe(例如 d:\yourfolder)

于 2015-10-29T07:08:40.193 回答