Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio loses bindings to TFS suddenly

Why would my VS solution lose its TFS bindings suddenly? I have been working on a project for six months and this never happened. As soon as I opened a VS project/solution, I could check in/out, view history by right clicking on any given file. But suddenly, I dont see those options to checkin checkout etc any more when I right click on a file in VS studio solution explorer.

The team explorer window still brings up the source folder structure and I can get latest or get specific from there but did any one see this kind of behavior? Please let me know what I can do to avoid these situations in future.

like image 924
ZVenue Avatar asked Nov 08 '11 17:11

ZVenue


1 Answers

Did you lose connection to the TFS server any time recently? I've had this happen in the past on unreliable network connections when working via TFS remotely. The solution and all projects therein would "go offline" and would appear to lose their bindings. This made it particularly unintuitive when the connection was re-established because changes made while "offline" weren't always found.

If you right-click on the solution or the projects, is there an option to "go online"? You might check the various menus for such an option as well.

like image 167
David Avatar answered Oct 21 '22 19:10

David