Re-establish TFS source control bindings

前端 未结 10 1063
别跟我提以往
别跟我提以往 2020-11-29 02:16

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 t

相关标签:
10条回答
  • 2020-11-29 02:59

    I see numerous answers providing different solutions here. I've had this happen a few times in the past, and usually unbinding/rebinding did the trick. However I just fought this issue recently, and NOTHING seemed to work.

    So, I simply deleted the solution directories on my machine, and then got latest from source. Worked like a charm. However, all of my changes were checked-in, so I didn't have to worry about losing anything. YMMV.

    0 讨论(0)
  • 2020-11-29 03:01

    When I renamed my solution, I ran into this error as well. I tried all of the above and it did not resolve the situation.

    Actual Solution for me was to edit the Build Definition with the new Solution Name

    1. My Builds > Right Click the Build Definition > Edit my Build Definition > Process
    2. Note that "1. Required > Solution to build" is referencing the old Soluton name.
    3. Click the "..." beside the "Solution to Build",
    4. Find your new solution. Click it
    5. Save the Build Definition
    6. Rebuild
    0 讨论(0)
  • 2020-11-29 03:01

    Make sure that you solution is already added to source control: File > Source Control > Add Solution to Source Control.

    0 讨论(0)
  • 2020-11-29 03:03

    When you have an invalid binding and unbinding/binding a project doesn't work, try the following:

    1. Unbind project in Change Source Control
    2. Unload project in Solution Explorer (For a website-project 'unload project' is not in the context-menu but in the 'Website' menu)
    3. Reload project in Solution Explorer

    Works for me all the time...

    0 讨论(0)
提交回复
热议问题