These days, it is encouraged to have all your stuff on cloud and being a developer, it is good to have your version control on cloud too. Microsoft offers a free online TFS service and all that you need is a Windows Live ID. Just go to http://tfs.visualstudio.com and create a TFS account for yourself. You could create any number of projects ( I believe this is going to be for a limited time only) and up to 5 users for free.
I am not yet clear with the difference between a .visualstudio.com and a .tfspreview.com although the interface of these two sites looks identical.
To connect to the online TFS, you need to have VS 2010 (with service pack 1) and an update (KB2581206) for VS.
The steps to access online TFS are very well explained @ http://blogs.msdn.com/b/visualstudioalm/archive/2011/12/07/connect-visual-studio-2010-to-your-tfs-preview-account.aspx
However, there are cases when you have two live IDs ( or one from hotmail.com and another from live.com) and you might be using one for your personal mail address and the other for your office work (like I do). In such cases, VS 2010 Team explorer refuses to connect to the TFS Preview and it errors out saying that the user is not authorized. The irritating thing here is that it doesn’t tell you the credentials that it used to connect to TFS nor does it allow you to use a different account !!
You could use Fiddler to find out the credentials that VS uses to connect to TFS during this error.
Now, how do you clear those credentials and key in one that works ? You could try clearing off all your browser cache yet things won’t work.
The fix to this problem lies in the least frequently used menu command in VS IDE – the web browser
- Open web browser in VS IDE (View –> Other Windows –> Web Browser)
- Type www.live.com or www.hotmail.com and observe that it logs you in automatically with a cached credential.
- Sign out and sign in with a different credentials (your office ID) or just leave it as is.
- Now try connecting using the team explorer and this time the explorer prompts you to key in your credentials (in a web page).
I found the above steps from a forum on the web and I thought this is a more often case for developers working with VS and online TFS.
The credentials might get cached in one of the following cases:
- Log in to a Microsoft related site via browser
- Sign in to Live Messenger
- Sign in to Skype using your Microsoft Account !
Hope this helps.