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

前端 未结 9 567
别跟我提以往
别跟我提以往 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:39

    Rename the solution's corresponding .SUO file. The SUO file contains the TFS status (online/offline), amongst a host of other goodies.

    Do this only if the "right-click on the solution name right at the top of the Solution Explorer and select the Go Online option" fails (because e.g. you installed VS2015 preview).

    0 讨论(0)
  • 2020-12-07 11:42

    I am using Visual Studio 2017 15.4.0 version. Especially when i started use lightweight solution option, this offline thing happened to me. I tried to above solutions which are:

    1. Tried to regedit option but can not see appropriate menu options. Didn't work.
    2. Right click on solution, there is go online option and when i choose it that gives this error message: "The solution is offline because its associated Team Foundation Server is offline. Unable to determine the workspace for this solution."

    Then from File -> Source Control -> Advanced -> Change Source Control. I saw my files. I select them and then chose bind option. That worked for me.

    0 讨论(0)
  • 2020-12-07 11:49

    I searched for the solution online and found this solution but wasn't too keen on the registry change.

    I found a better way: right-click on the solution name right at the top of the Solution Explorer and select the Go Online option. Clicking this allowed me to select the files that had been changed when I was offline and make the solution online again.

    After finding the solution, I found the following msdn forum thread which confirmed the above.

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