从源代码管理解除绑定解决方案

时间:2015-10-28 17:20:48

标签: visual-studio-2013 tfs source-control-bindings

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

ORA-00904: "LOCATION_INFO_300"."REPORTING_YEAR": invalid identifier

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

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

  • 在解决方案资源管理器中选择解决方案,然后转到“文件”菜单。在文件菜单下,您将看到“源控制”菜单。在此之下,您将看到Change Source Control。选择此项,然后在出现的对话框中选择“unbind”。

  • 删除* .vssscc,* .vspscc,文件。使用记事本打开.sln文件并删除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.

1 个答案:

答案 0 :(得分:0)

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

如何使用该工具:

•将解决方案复制到新目录(因为该工具确实修改了文件)

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