日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

【转】删除已经存在的 TFS Workspace

發布時間:2023/12/10 编程问答 26 豆豆
生活随笔 收集整理的這篇文章主要介紹了 【转】删除已经存在的 TFS Workspace 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

刪除已經存在的 TFS Workspace

分類:?TFS serverpathcommandcachefilegoogle 工作轉移到新的TFS平臺 打開source control在創建workspace時出錯 信息為: The Path <local path> is already mapped in workspace <machine name [old tfs server]> 很詭異的bug:)
Google搜索發現別人也遇到過相同的問題(估計是很多人遇到過) http://geekswithblogs.net/aaronsblog/archive/2006/09/11/90878.aspx 參考Kevin Jones的博客文章,我們知道Client端的配置信息存儲在 “C:/Documents and Settings/[user]/Local Settings/Application Data/Microsoft/Team Foundation/1.0/Cache/VersionControl.config” 不過讓每個人修改config文件可不是個好的workaround

好在Buck Hodges給出了較為明確的解釋: The reason that you hit this is due to switching servers. Every server has a unique identifier, which is a GUID. Each local path can only be mapped in a single workspace. You originally had a workspace on the first server that used the local path you wanted to use with the new server. Let's say that's c:/projects. When you create the new workspace on the new server (GUID2) that you also want to map to c:/projects, the client sees that the old server (GUID1) is already using that local path. Since the IDs for the servers do not match, the client complains that c:/projects is already mapped to the old workspace on the old server.?

并且有了明確的解決方法:
The solution is to clear the cache file, as described above. The problem will not occur if you upgrade the same server (i.e., you don't create a new server).? You can use the command "tf workspaces /remove:*" to clear out all of the cached workspaces (it only affects the cache file). You can specify /s:http://oldserver:8080?to just clear out the workspaces that were on the old server. The MSDN doc for the workspaces command are at?http://msdn2.microsoft.com/en-us/library/54dkh0y3.aspx.?
嘿嘿,打開VS2008的CMD,輸入"tf worksapces /remove:* /s:http://oldserver:8080" 返回VS中的TeamExplorer發現還是不行 于是決定刪除所有的cache中的workspace "tf workspaces /remove:*" 再次返回TeamExplorer,一切OK了:) 多說一句,MSDN文檔真的很爛,到現在了內容也不更新,還是要求輸入/s:ServerName, 如果這樣輸入,會有個錯誤告訴你:URI非法,不能夠識別URI的格式。 轉自:http://blog.csdn.net/wenjie847/article/details/5342856

轉載于:https://www.cnblogs.com/EddyPeng/p/4019248.html

總結

以上是生活随笔為你收集整理的【转】删除已经存在的 TFS Workspace的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。