Recommended way to work offline with TFS having specific constraints?

We sometimes face the issue that individual colleagues of our team need to work offline with TFS.
This may happen if they have to debug their code on the customer site where possibly no internet connection is available.

Is there any suggested way to work offline and to check-in the changes later when the internet connection is available (f. e. if they are back in the office)?

In our case the following conditions are given and can unfortunately not be changed:

  • we have to use a “Server Workspace” and cannot switch to a “Local Workspace” in the TFS Collection Workspace Settings (usually we work in the office having an internet connection and we want to use the feature “GetLatest on CheckOut”)
  • we have to use the TFVC repository and cannot switch to Git in the team project
    • as far as I know, it is not possible to use and synchronize two different repositories (TFVC and Git) in one Team Project
    • if this would be possible, the group of people sometimes leaving the office could use Git and the remaining ones could use TFVC
  • since we do not work with “Solutions” but only with version controlled files, the “Go Offline” option of the Solution Explorer is also not an option.

  • When to start versioning/stop using project references
  • How do I change the GitHub URL in Visual Studio?
  • Code review addin for Visual Studio
  • Why don't files automatically get checked out from VSS when I edit them?
  • Do I need the .dat file when I place a visual studio database project under version-control
  • Rename of Visual Studio Solution Loses Git Tracked Changes
  • Set proxy for Microsoft Git Provider in Visual Studio
  • What are the big differences between TFS and Git for source control when using Visual Studio 2013?
  • 2 Solutions collect form web for “Recommended way to work offline with TFS having specific constraints?”

    You can’t have it both ways. Centralized version control is designed from the ground up to require a connection to the server.

    Either you use a distributed version control system (like Git) or you start using local workspaces, which provide some quality-of-life offline work features.

    The people that need to work offline can have local workspaces, while everyone else continues to use server workspaces. They could even convert their server workspaces to local workspaces right before leaving the office, then turn them back into server workspaces when they return.

    Use git-tfs and all your developers will be happy to go fix bugs on the customer site 😉

    They will even gain a better local workflow!

    Git Baby is a git and github fan, let's start git clone.