How to disable auto check out when I save or edit

2019-02-14 17:00发布

问题:

Tell me please how to disable auto checkout in tfs (vs 2013) when I edit or save file?
I can selected "Do nothing" in the Options dialog box, click Source Control, and then click Environment and in the On Edit box, select "Do nothing" and select "Allow checked-in items to be edited", but this doesn`t resolve my problem - files locked after save.
Thank you!

回答1:

In Visual Studio 2013, on the Tools menu, click Options.

In the Options dialog box, click Source Control, and then click Environment.

In the Checked In Items section, And in Editing- there are three options available.

Select Do nothing and click OK



回答2:

To change your workspace type.

in the source control window, open the drop down list and select workspaces... in the editor window change you workspace location from Server to Local.

this will allow your workspace to act like a distributed workspace rather than a traditional TFSVC Server workspace.