Connecting automatically to TFS

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

你可能感兴趣的:(connect)