环境:Vs2103(TFS2013)
目的:去掉别人项目里的TFS控制,因为每次打开时会有提示信息
解决方法:
1.删除隐藏的.$tf文件夹,搜索*.vssscc和
*.vspscc这两个后缀的文件,删除找到的文件.
2.使用文本编辑器打开*.sln
文件,找到
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
删除,并保存!