Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add TFS bindings to a Visual Studio 2010 project?

There's a question already discussing how to add project/solution bindings to TFS, however it seems to only apply to Visual Studio 2008 (I am unable to find the "Change Source Control" dialog in VS2010).

I have a solution and source code on my local machine already in TFS, however it does not have TFS bindings (the thing that produces the padlock icon in the Visual Studio Solution Explorer and allows automatic checkout).

How can I add bindings to an existing TFS project using Visual Studio 2010?

like image 698
Simon Avatar asked Nov 16 '10 02:11

Simon


2 Answers

In VS2010 check Tools>Options>Source Control and see if set to TFS. If not that might be why you don't see File->Source Control->Change Source Control.

like image 163
Gern Blanston Avatar answered Nov 16 '22 01:11

Gern Blanston


I ran into this problem and, for me, the issue was that my solution was offline with respect to TFS. Upon trying to change source control, I received a message stating that it is already associated with source control but is offline. I placed the solution on-line, per my recollection, using the File->Source Control->Go Online menu option and this seemed to fix the problem.

like image 40
PatrickV Avatar answered Nov 15 '22 23:11

PatrickV