Michael Shang

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

Every time I start I get the following in output:

This solution is offline.  [Team Foundation Server:
http://jasmine:8080/]
The solution is offline because its associated Team Foundation Server
is offline.

I then have to do File, Source Control, Change Source Control twice,
once to delete the connection, then once to re-bind it.

Below is the way to just have it connect when starting:

There are two ways:

1. Using TFS Explorer
a. Open the solution offline and right click the solution.
b. On the context menu, find and select "Go Online" option.
There is some possibilities that you are unable to see this option, then
try solution #2.

2. Set registry keys
a. Open
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\TeamFoundation\Servers
\<tfs server name>
b. Change "Offline" to 0
c. Change "AutoReconnect" to 1

posted on 2010-07-01 12:51  Michael Shang  阅读(176)  评论(0编辑  收藏  举报