I have a solution with solution folder and projects. Get the whole soure code from TFS in a local folder say c:\mycodes Then copy the folder c:\mycode to another folder c:\lab
In c:\lab, remove all source control file *.vssscc, *.vspscc, then open the solution in c:\lab again.
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?
To remove files from source control: If you select a folder, project, or solution, any eligible child items will also be removed. choose Source Control > Remove or press Ctrl+R, R. The dialog will list the files that can be removed. In that dialog, you can deselect any files you don't want to remove.
Ribbon Select Source Control > Disconnect. Right-Click If you have the File List open, right-click on any file and select Source Control > Project > Disconnect. Local Toolbar In the local toolbar of the File List, click , then select Project > Disconnect.
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.
Code:
GlobalSection(TeamFoundationVersionControl) = preSolution SccNumberOfProjects = 1 SccEnterpriseProvider = JKHJ78900-10FA-6457-4535-645676465463} SccTeamFoundationServer = https://********.visualstudio.com/defaultcollection SccLocalPath0 = . EndGlobalSection
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With