I have about a dozen Visual Studio 2010 projects I've been working on that are versioned in a TFS repository. Recently I went on a vacation and upgraded my computer's OS to Windows 7 64 bit.
I've reinstalled Visual Studio, and I can connect to my Team Foundation Server and see my projects...only my bindings aren't working correctly. Most of the time none of my files seem to be under source control, but in a couple of projects my source control bindings are OK in the root folder, but not working in subfolders off the project root.
I've tried undoing the binding, opening from source control, and deleting the folder and doing a get latest version. None of these has fixed the problem.
Any thoughts on restoring my bindings?
UPDATE
After poking around I can see there seems to be an extra folder in the path of my "invalid" projects...I've got no idea how it got in there, but this seems to be throwing off my mappings.
Go to File > Source Control > Change Source Control and check that the solution is bound. If not, select everything and click Bind.
In Visual Studio 2017, you can use File -> Source Control -> Advanced -> Change Source Control to open the Change Source Control dialog: NOTE: The black bars are intentional. Now, all you have to do is select the unbound solution file and click the Bind item from the top menu of the dialog.
You say you've tried undoing the binding, but have you tried rebinding back to source control?
In Visual Studio:
When you have an invalid binding and unbinding/binding a project doesn't work, try the following:
Works for me all the time...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With