It is often time-consuming and cumbersome to run into TFS's server address changes so that all items are not available, and if you reopen them all and then remap them. But there are actually simple ways.
Locate the workaround file, which is the sln file.
Open with Notepad, find sccteamfoundationserver This section, see, the following is the server address, change the address can be. "Modify the address of the project"
But it's not that simple, but it's just the address of the project, but the address of the TFS program is changed. So it's not possible to change this alone. We have to change one.
If it is not XP, the location is
c:\users\[User name]\appdata\local\microsoft\team foundation\[version number]\cache, inside some XML file, open with Notepad, modify it. "Modify the cache for an item"
XP for
C:\Documents and settings\[user name]\local Settings\Application Data\Microsoft\Team foundation\[Version number]\cache "Modify Project Cache"
In addition, there may be different versions of VS that are modified
Like what
hkey_current_user\software\microsoft\visualstudio\[version number]\teamfoundation\instances There should be something else to change. "Change the team address in VS"
At this point to open the VS, will still connect the previous, but cancel the connection, and then connect, you will find the choice drop-down inside the new connection address, OK, and then enter the password, and then open the project.
Issues with project migration after the TFS address changes.