I downloaded a projnet project on codeplex and waited for a long time to open the solution. Then a dialog box pops up saying that the server is unavailable and will be opened offline. google, and found the solution on msdn:
BIND version-controlled projects and solutions to Visual Studio
In Solution Explorer, highlight the project or solution to be bound to team Foundation version control.
In"File"In the menu, click"Source codeManage"And then click"Change SourceCodeManage".
In"Change source code management"In the dialog box, click"Binding".
Unbind a version-controlled project and Solution to Visual Studio
In Solution Explorer, highlight the project or solution to be unbound from the team Foundation version control.
In"File"In the menu, click"Source code management"And then click"Change source code management".
In"Change source code management"In the dialog box, the solution or project to unbind from version control is highlighted, and then click"Unbind".