Environment: Vs2103
Purpose: Remove TFS control from someone else's project because there will be a message every time you open it
Workaround:
1. Delete the hidden. $TF folder, search*.vssscc和
*.vspscc这两个后缀的文件,删除找到的文件.
2. Open *.sln
the file using a text editor to find
GlobalSection(TeamFoundationVersionControl) = preSolution
SccNumberOfProjects = 4
SccEnterpriseProvider = {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}
SccTeamFoundationServer = here is your project‘s tfs
SccLocalPath0 = .
SccProjectUniqueName1 = project-unique-name1.csproj
SccProjectName1 = your-project-name
SccLocalPath1 = project-local-path
SccProjectUniqueName2 = project-unique-name2.csproj
SccProjectName2 = project-name-2
SccLocalPath2 = local-path2
SccProjectUniqueName3 = project-unique-name3.csproj
SccProjectName3 = project-name-3
SccLocalPath3 = local-path3.
EndGlobalSection
Delete, and save! Reference: http://blog.useasp.net/archive/2015/12/15/ How-to-permanently-remove-vs-project-tfs-source-version-control-binding.aspx, if there is a copyright issue, please inform!
VS2013 removing TFS Version control