Work offline in Team Foundation Server

Solution 1:

This extension should solve your problem (for VS 2010):

http://visualstudiogallery.msdn.microsoft.com/425f09d8-d070-4ab1-84c1-68fa326190f4?SRC=Home

Solution 2:

Here's the solution for VS 2008 with TFS

  1. Navigate to Visual Studio Menu ---- File > Source Control > Change Source Control > Click on Solution/Project > Check/uncheck the project checkboxes > Click 'Unbind' button at the top.

This makes your complete solution or the selected project(s) in the solution Offline from the TFS.

  1. When you want to Go Online, follow the same steps and click the button 'Bind'

Solution 3:

Ben Ryan has the regkeys you seek on his blog:

  • http://blogs.msdn.com/benryan/archive/2007/12/12/when-and-how-does-my-solution-go-offline.aspx
  • http://blogs.msdn.com/benryan/archive/2007/12/12/how-to-make-tfs-offline-strictly-solution-based.aspx

Most of these controls are also built into the latest Power Tools:

C:\Users\Richard> tfpt tweakui /?
tfpt tweakui - Enhance how client connects to Team Foundation Server

Allows configuration of how and when the client connects to a 
Team Foundation Server.  This includes client certificates, auto
reconnect, offline, compression, maximum connections, timeouts, 
and bypassing the proxy.