有时候会遇到服务器IP服务器变动,甚至TFS服务器坏了,或者将项目从新上传至新的TFS区:服务器
可使用notepad之类的软件打开解决方案(.sln文件),删掉相似下面的部分:ide
GlobalSection(TeamFoundationVersionControl) = preSolution SccNumberOfProjects = 2 SccEnterpriseProvider = {xxxxx} SccTeamFoundationServer = http://some-other-guys-tfs-server/ SccLocalPath0 = . SccProjectUniqueName1 = xxDemo\\xxDemo.csproj SccProjectName1 = xxDemo SccLocalPath1 = xxDemo EndGlobalSection
还能够尝试删掉解决方案的 vssscc/vspscc后缀的文件以及$tf文件夹spa
原帖请看:http://bbs.csdn.net/topics/360108209#quote.net