locked
Preventing Locks on checkout RRS feed

  • Question

  • hi,

    i'm having an issue where a lock type of "checkout" occurs automatically on build of my solution. i have prevented lock's for general developers but because i'm also an admin it still seems to lock these files. This is an issue for me as locking then prevents others changing files in they're workspace. it happens for example on some dll's that have been checked in.

    anyone got an ideas as to how i can prevent this kind of checkout locking?

    regards
    • Moved by Bill.Wang Friday, October 17, 2008 6:51 AM This question is about version control. (Moved from Getting Started With Visual Studio Team System to Team Foundation Server - Version Control)
    Thursday, October 16, 2008 8:59 AM

Answers

  • You can change the autolock settings for DLL files under Team -> TFS Settings -> Source Control File Types.
    • Proposed as answer by Bill.Wang Tuesday, October 21, 2008 10:23 AM
    • Marked as answer by mickdel Tuesday, October 21, 2008 12:45 PM
    Monday, October 20, 2008 3:28 PM
    Moderator

All replies

  • Hi
      

    I'm not quite clear about your scenario. Do you mean when Visual Studio build the solution, some dll is automatically checked out? Please describe it in more detail. Well, we normally don't add dll to source control unless in some particular situation. If it's possible, I'd like to suggest you remove dll from source control.


    Please mark the replies as answers if they help and unmark them if they provide no help.
    Monday, October 20, 2008 2:05 AM
  • hi,

    Sorry, i wasnt so clear.

    yes, your correct, we have DLL's checked in to source control that are updated/rebuilt on compilation.
    its not the correct thing to do. i understand that but for now its not something i cannot change. (legacy),  at least not change today.

    so when building this project visual studio it will have to check out the dll to rebuild it.

    for checking out there's an option if visual studio:
    Options - Source control - Environment - "Checked-in Items" - Editing - Check out automatically. (which i have selected)

    In this case its a "dll". the default action here by tfs when editing this dll is to check it out, but with a Lock.

    I want to change this default behaviour to check out but not lock.

    is that a bit clearer???

    kind regards.

    • Edited by mickdel Monday, October 20, 2008 11:40 AM
    Monday, October 20, 2008 11:38 AM
  • You can change the autolock settings for DLL files under Team -> TFS Settings -> Source Control File Types.
    • Proposed as answer by Bill.Wang Tuesday, October 21, 2008 10:23 AM
    • Marked as answer by mickdel Tuesday, October 21, 2008 12:45 PM
    Monday, October 20, 2008 3:28 PM
    Moderator
  • Where is this setting in VS2010?

    THanks, BC

    Thursday, August 26, 2010 12:49 AM