"You have to learn why things work on a starship." -- Capt. Kirk (ST II - The Wrath of Khan)
Welcome to MSDN Blogs Sign in | Join | Help
When and how does my solution go "offline"?

TFS 2008 adds improved support for "offline" scenarios.  This blog post identifies the scenarios under which a solution will be placed in "offline" mode.

  1. If the Visual Studio IDE is unable to connect to the TFS server when it is opening the solution, then it will mark the solution as being offline.  It will also mark the TFS server as being offline.

    A messagebox will be displayed indicating the solution was taken offline and a message to the same effect will appear in the Output window.

    -OR-
  2. If the Visual Studio IDE is opening a solution and finds the TFS server to which the solution is bound is marked as offline, then VS will mark the solution as being offline

    In this scenario, a message about the solution being opened offline will appear in the Output window, but no messagebox will appear.

 

NOTES

  • Offline detection is done ONLY during solution open.  Failures to connect to the server during other version control operations within VS do not affect the offline state of the solution or server.
     
  • The offline state for the solution is stored in the solution's local .suo file.
  • When the server is marked offline, we also turn off the server's "AutoReconnect" setting.
  • The server's offline state is stored in a registry value named Offline, and the AutoReconnect state is stored in in a value named AutoReconnect.  Both of these live under the key:
    HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\TeamFoundation\Servers\<tfs server name>
  • A solution remains offline until it is explicitly taken online.
  • A TFS server remains marked offline until an offline solution bound to that server is taken online.
  • Opening a solution that was previously marked offline while its server is still marked offline opens the solution without any messageboxes appearing.  We will present a message in the Output window indicating the solution is still offline.
  • Opening a solution that was previously marked offline when its server is marked online presents the user with a messagebox asking if the user wishes to take the solution online.

 

 

Published Wednesday, December 12, 2007 6:25 PM by benryan

Comments

# How offline mode works in TFS 2008 version control @ Wednesday, December 12, 2007 8:52 PM

Ben Ryan , a developer on the version control team, has written a couple of posts about the offline feature

Buck Hodges

# How offline mode works in TFS 2008 version control @ Wednesday, December 12, 2007 9:25 PM

Ben Ryan , a developer on the version control team, has written a couple of posts about the offline feature

Noticias externas

# VSTS Links - 12/13/2007 @ Thursday, December 13, 2007 10:26 AM

Mickey Gousset on Go check out my first article at codeproject.com. Brian Harry on A new community project...

Team System News

# [TFS] Setup and Administration FAQ (en español) @ Monday, March 10, 2008 1:05 PM

Buenas, cómo había comentado hace 2 días , el completo FAQ para la instalación y administración de TFS

El Bruno

# [TFS] Setup and Administration FAQ (en español) @ Saturday, July 05, 2008 3:10 AM

Buenas, cómo había comentado hace 2 días , el completo FAQ para la instalación y administración de TFS

El Bruno

# [TFS] Setup and Administration FAQ (en espa&#241;ol) @ Saturday, July 05, 2008 3:11 AM

Buenas, cómo había comentado hace 2 días , el completo FAQ para la instalación y administración de TFS

El Bruno

# Using TFS 2008 Power Tools to modify server's offline state @ Wednesday, July 09, 2008 10:16 AM

Normally to reset your client's view of a TFS server from Offline to Online, you would 'Go Online' with

TFS Version Control and VS Integration

# 【日本語版】 どんな時にソリューションが 「オフライン」 状態になるのですか? @ Monday, November 24, 2008 11:45 PM

こんにちは! フォーラム オペレーターの服部清次です。 あっという間に 3 連休が終わってしまいましたが、皆さんの連休はいかがでしたか? 日頃の体の疲れはとれましたか? 気分転換はできましたか? 僕は、特に何をするでもなくノンビリした連休を過ごしました(苦笑)。

Microsoft Japan Forum Operators Blog

# 【日本語版】 TFS 2008 の Version Control における「オフライン」モードの機能 @ Wednesday, January 14, 2009 10:00 PM

こんにちは! フォーラム オペレーターの服部清次です。 ここ最近、朝の冷え込みが厳しいので、毎朝布団から出るのが一苦労です。 今も、「早く春にならないかなぁ、、、」なんてことを考えながら、このスレッドを投稿していたりします。。。

Microsoft Japan Forum Operators Blog

Anonymous comments are disabled
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker