Is there a way to set "work offline" in TFS without having to try opening a solution, waiting for it to time out, and then having Visual Studio work out that it has failed?
It seems a touch ridiculous that I can't just tick a box to tell it myself, seeing as I'm probably the one most qualified to know when I'm not in the office!
This extension should solve your problem (for VS 2010):
http://visualstudiogallery.msdn.microsoft.com/425f09d8-d070-4ab1-84c1-68fa326190f4?SRC=Home
Here's the solution for VS 2008 with TFS
This makes your complete solution or the selected project(s) in the solution Offline from the TFS.
when I have to work offline I just unplug my ethernet cable and start TFS 2008. It starts me in offline mode. Then plug back in, right-click 'work online' in solution explorer, and TFS will ask you to check in your offline changes.
Team Foundation Server 2008 does support working offline.
This video demonstrates how to use this feature.
Ben Ryan has the regkeys you seek on his blog:
Most of these controls are also built into the latest Power Tools:
add a host entry 127.0.0.1 tfs.foo.com