天天看點

Unable to determine the workspace. You may be able to correct this by running 'tf workspaces /collec

在cmd下用指令:

tf get /V:T /overwrite /force /recursive /login:cn1\scmer,12345_qwert $/CorpFlight/MainLine

用來擷取mainline下面的代碼, 結果出錯:

Unable to determine the workspace. You may be able to correct this by running 'tf workspaces /collection:TeamProjectCollectionUrl'.

解決辦法 ,應該cd到相應的集合目錄下,再次運作就可以了,這種情況多數是目錄不正确。