How do I get my solution in Visual Studio back online in TFS?

前端 未结 9 565
别跟我提以往
别跟我提以往 2020-12-07 11:07

I had my solution in Visual Studio 2012 (which is under TFS source control) open and the TFS server (2010) was down. When I then made a change to one of the files and attemp

9条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-07 11:28

    Neither of the above solutions worked for me on Visual Studio Community 2017 v15.7.1. Somehow, there was no "Go Online" option in the context menu. I tried registry edit as suggested here, but that only displayed me error that it could not find the binding. What worked for me is rebinding solution to the server from Change Source Control menu.

    Go to File->Source Control->Advanced->Change Source Control and make sure that your solution is binded to your source control. If not (like mine) then click on bind button, it will automatically search online TFS server and rebind your solution to it.

提交回复
热议问题