问题
I'm using TFS.
My problem changing the path "Debug>Options and Settings>Source Control>Environment" where is the Registry Editor.
example: i change check box "Show deleted items in the Source Control Explorer" in change the "HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\TeamFoundation\SourceControl\ShowDeletedItems data value change False in registry editor
but i change combo box" checked-in items -> Saving or Editing " the value. I am not found in registry editor. where is it in registry editor ?
回答1:
All the values you are after, reside under "HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\SourceControl".
Those settings are generic for VS and apply regardless of the SCM used. So, it makes sense these don't reside under "..\TeamFoundation..".
The following is a mapping of reg-value names against their representation in VS:GetFiles
>> Get everything when a solution or project is openedCheckInFiles
>> Check in everything when closing a solution or projectSilentCheckOut
>> Display silent check out command in menusKeepCheckedOut
>> Keep items checked out when checking inSaveUncheckedOut
>> Checked-in items / SavingCheckOutOnEdit
>> Checked-in items / EditingAllowInMemoryEditing
>> Allow checked-in items to be edited
The items found in the dialog "Source Control"\"Visual Studio Team Foundation Server" obviously apply only when SCM is TFS.
来源:https://stackoverflow.com/questions/10028703/where-does-visual-studio-2010-checked-in-items-in-registry-editor