How to: Work Offline when the Server is Unavailable

If the server that is running Visual Studio Team System Team Foundation Server is offline, you can change local, offline copies of your files. After the server becomes available again, you can check the changes into version control.

Required Permissions

To perform these procedures, you must have the Check out permission set to Allow. For more information, see Team Foundation Server Permissions.

To work with version-controlled files when the server is offline

  1. From your local working folder, open the solution that you want to work on.

    If the server is offline, the Go Offline dialog box appears.

  2. Click OK, and then edit your solution files.

  3. On the File menu, click Save.

  4. In the Save of Read-Only File dialog box, click Overwrite to remove the write-protection from the file.

To commit your offline changes to the server when it is available

  1. In Solution Explorer, right-click the solution or file, and then click Go Online.

    The Go Online dialog box appears and shows the changes that you made offline.

  2. Under Name, select the check box for each change that you want to check in, and then click Go Online.

    The changes that you made offline are added to Team Foundation version control as pending changes.

  3. In Solution Explorer, right-click the files that you edited offline, and then click Check In to commit the changes to the server.

See Also

Concepts

Submitting Changes to the Version Control Server

Reference

Checkout and Edit Commands

Other Resources

Adding Projects and Solutions to Version Control from Solution Explorer