2013/04/24

TF10151 Can not lock item xxx.dll for check out. this item has been xxx check out on xxx workspace (VS2010)

SNAGHTMLb3abfd0

 

---------------------------
Microsoft Visual Studio
---------------------------
TF10151: 無法鎖定項目 $/xxxx.Wcf.dll 以簽出。項目 $/xxxx.dll 已在工作區 xxxxxx 中由 xxxx 簽出。
---------------------------
OK  
---------------------------

---------------------------
Microsoft Visual Studio
---------------------------
The command you are attempting cannot be completed because the file xxxx.dll' that must be modified cannot be changed. If the file is under source control, you may want to check it out; if the file is read-only on disk, you may want to change its attributes.
---------------------------
OK  
---------------------------

 

發生的原因在於 VS2010 在 WebSite Project 的 Reference DLL 會自動 check out,加上 TFS 針對 DLL 這個類型是不允許合併(non-mergable),所以就會自動 Lock 鎖定。

 

目前我解決的方式是將 Team Project Collection 中,針對 dll 這種型別 check out 時,不需進行鎖定

image

 

SNAGHTMLb503434

沒有留言: