問題:
I had my solution in Visual Studio 2012 (which is under TFS source control) open and the TFS server (2010) was down.我在 Visual Studio 2012(受 TFS 源代碼控制)中打開了我的解決方案,而 TFS 服務器(2010)已關閉。 When I then made a change to one of the files and attempted to save it I got a prompt to ask whether I wanted to Overwrite the file saying the TFS server was down (can't remember the exact words) and the following message appeared in the Output window:然後,當我對其中一個文件進行更改並嘗試保存它時,我收到一條提示,詢問我是否要覆蓋該文件,說 TFS 服務器已關閉(記不清確切的單詞),並且以下消息出現在輸出窗口:
This solution is offline. [Team Foundation Server: http://tfs1:8080/tfs/server]
The solution was offline during its previous session and will remain offline.
How do I get the file change to be recognised as being among Pending Changes and the whole solution back online?如何讓文件更改被識別爲待定更改和整個解決方案重新聯機?
解決方案:
參考一: https://en.stackoom.com/question/vPGJ參考二: https://stackoom.com/question/vPGJ