TFS - dll is locked for check-out by user

后端 未结 3 1662
轻奢々
轻奢々 2021-02-13 18:05

2 projects under TFS Source Control.

  • DependancyProject.sln

  • AppProject.sln

With AppProject referencing DependancyProject.

相关标签:
3条回答
  • 2021-02-13 18:32

    If you are not going to use that workspace again, you can delete it by going to workspace pull down, selecting workspaces, and enabling the check box "Show remote workspaces". you can then select it and remove it.

    0 讨论(0)
  • 2021-02-13 18:34

    I had the same problem, and this guide solved all my problems.

    The file was actually locked by me, but in a different work space (old computer).

    Had to use the tf undo command to unlock the files.

    0 讨论(0)
  • 2021-02-13 18:52

    Some files are configured as "non-mergeable" in TFS, which means that they'll be locked when changes are pended on them. The default list includes a variety of binary files, including .dll files. Note that this lock applies to all pending changes - including adds.

    It's likely that the other developer in question accidentally pended adds for his bin directory - and any binary files in that directory (ie, most of them) would have been locked as well due to being in that unmergeable list.

    You will not be able to pend other changes (including an add in a different workspace) while these items are locked. To break this lock, the other developer can do this by undoing the pending changes, or a server administrator can do it using the Find in Source Control functionality in the Team Foundation Server Power Tools.

    That said, I don't know why your build process is trying to pend an add on that file.

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