本文介绍了如何从 TFS 上的源代码控制断开解决方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个包含解决方案文件夹和项目的解决方案.从本地文件夹中的 TFS 获取整个源代码,例如 c:\mycodes然后将文件夹 c:\mycode 复制到另一个文件夹 c:\lab

I have a solution with solution folder and projects.Get the whole soure code from TFS in a local folder say c:\mycodesThen copy the folder c:\mycode to another folder c:\lab

在 c:\lab 中,删除所有源控制文件 *.vssscc、*.vspscc,然后再次打开 c:\lab 中的解决方案.

In c:\lab, remove all source control file *.vssscc, *.vspscc, then open the solution in c:\lab again.

部分项目与 TFS 断开连接,但此解决方案中的部分项目仍连接到 TFS,并且打开解决方案时会重新创建一些 *.vssscc、*.vspscc 文件.然后从服务器取消绑定所有项目,这些项目仍然会自动生成 *.vspscc 文件.

Part of the project disconnect from TFS, but part of the projects in this solution still connect to TFS and some *.vssscc, *.vspscc files recreated when open the solution. Then unbind all project from server, those projects still have *.vspscc files auto generated.

我想要一个没有源代码控制的干净的源代码副本.如何解决这个问题?

I want to a clean copy of the source code with no source control. How to resolve this problem?

推荐答案

在 Visual Studio 中,在解决方案资源管理器中选择解决方案,然后转到 File 菜单.在文件菜单下,您将看到一个 Source Control 菜单.在它下面你会看到Change Source Control.

In Visual Studio, select the solution in the solution explorer, then go to the File menu. Under the file menu, you'll see a Source Control menu. Under that you'll see Change Source Control.

选择此项,在弹出的对话框中选择解除绑定".

Select this, and in the dialog box that comes up, choose "unbind."

您的解决方案不再受约束.

Your solution is no longer bound.

这篇关于如何从 TFS 上的源代码控制断开解决方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-04 20:53