aludvigsen
aludvigsen

Reputation: 5981

Set "Show Solution Changes" as default view option for Included Changes in VS2013 TFS

As the title says, in the view for Pending Changes, where VS lists changes in your version, Show All is selected by default. In VS2013 update 3, i had this set to Show Solution Changes by default.

I have to change this view to show only solution changes for every new check-in. I want the default to be Show Solution Changes.

enter image description here

Upvotes: 10

Views: 2331

Answers (3)

jkyadav
jkyadav

Reputation: 1282

"Show Solution Changes" will greyed out when your solution is in OFFLINE mode, make sure you turn it ONLINE by following below steps.

enter image description here

Upvotes: 1

MemeDeveloper
MemeDeveloper

Reputation: 6782

I had the same issue with the default never "sticking" regardless of what I did in the UI / Registry.

I found the problem went away when I chose to ignore a bunch of changes it kept adding to the pending changes

These changes happened to be inside the solution's mapped folder (in the NuGet packages folder). These were ignored in my .tfignore file, but had got into TFS's targets before the tfignore file was added.

So guess some code in VS is overriding the user's choice / reg in such cases.

Solved by choosing to Ignore those changes.

Now it sticks ! Winning !

Upvotes: 1

Isaiah4110
Isaiah4110

Reputation: 10080

As far as I tested, this default setting is controlled by the following registry entry. If the value of this registry entry is set as 1, then it should change the default behavior to filter by "Solution Changes".

"HKCU\Software\Microsoft\VisualStudio\12.0\TeamFoundation\SourceControl"

Name: FilterPendingChanges REG_DWORD

Value: 1 = Show Solution Changes

Value: 0 = Show All

Since we are on this topic, if you want to change the default file listing to "List View" instead of the "Tree View", you should modify the below Registry entry:

"HKCU\Software\Microsoft\VisualStudio\12.0\TeamFoundation\SourceControl\PendingCheckins"

Name: ListLayout REG_DWORD

Value: 1 = TreeView

Value: 2 = ListView

Upvotes: 4

Related Questions