Work offline in Team Foundation Server

2019-01-18 08:27发布

Is there a way to set "work offline" in TFS without having to try opening a solution, waiting for it to time out, and then having Visual Studio work out that it has failed?

It seems a touch ridiculous that I can't just tick a box to tell it myself, seeing as I'm probably the one most qualified to know when I'm not in the office!

7条回答
看我几分像从前
2楼-- · 2019-01-18 08:34
聊天终结者
3楼-- · 2019-01-18 08:43

Here's the solution for VS 2008 with TFS

  1. Navigate to Visual Studio Menu ---- File > Source Control > Change Source Control > Click on Solution/Project > Check/uncheck the project checkboxes > Click 'Unbind' button at the top.

This makes your complete solution or the selected project(s) in the solution Offline from the TFS.

  1. When you want to Go Online, follow the same steps and click the button 'Bind'
查看更多
叛逆
4楼-- · 2019-01-18 08:43

when I have to work offline I just unplug my ethernet cable and start TFS 2008. It starts me in offline mode. Then plug back in, right-click 'work online' in solution explorer, and TFS will ask you to check in your offline changes.

查看更多
Animai°情兽
5楼-- · 2019-01-18 08:48

Team Foundation Server 2008 does support working offline.

This video demonstrates how to use this feature.

查看更多
干净又极端
6楼-- · 2019-01-18 08:49

Ben Ryan has the regkeys you seek on his blog:

Most of these controls are also built into the latest Power Tools:

C:\Users\Richard> tfpt tweakui /?
tfpt tweakui - Enhance how client connects to Team Foundation Server

Allows configuration of how and when the client connects to a 
Team Foundation Server.  This includes client certificates, auto
reconnect, offline, compression, maximum connections, timeouts, 
and bypassing the proxy.
查看更多
SAY GOODBYE
7楼-- · 2019-01-18 08:56

add a host entry 127.0.0.1 tfs.foo.com

查看更多
登录 后发表回答