Make sure you have deleted all related files locally. To completely remove TFS source control binding follow these two steps:
- Go to your solution's folder, find and delete all files with
*.vssscc
and *.vspscc
extensions.
- Open your solution's
.sln
file in Notepad, and find & remove the
GlobalSection(TeamFoundationVersionControl)
section.
GlobalSection(TeamFoundationVersionControl) = preSolution
<code> SccNumberOfProjects = 2
SccEnterpriseProvider = {4CA58AB2-18FA-4F8D-95D4-32DDF27D184C}
SccTeamFoundationServer = <YourTFSURL>
SccLocalPath0 = .
SccProjectUniqueName1 = .
SccLocalPath1 = .
EndGlobalSection
More detail steps please take a look at this blog here: Reference Link .
If you still get issue, also close VS, clear TFS and VS cache. Then open VS again, which may do the trick.