问题
In VS2010's Team Explorer there was an option to show pending changes only for the current solution (see here and here). Is there equivalent functionality in VS2012, and if so how do I get to it?
回答1:
In the Team Explorer pane, click "Pending Changes":
Then on the Pending Changes pane, expand the dropdown under Included Changes and select "Show Solution Changes":
回答2:
Another method I've found for achieving the same result (filtering out pending changes that are not part of the solution I'm working on) is to create more, fine-grained TFS workspaces (as opposed to a single workspace that contains many unrelated solutions). Once you have more than one solution, the Pending Changes view will contain a drop-down that lets you pick which workspace to show changes for:
来源:https://stackoverflow.com/questions/17090976/where-is-the-filter-by-solution-button-in-vs2012-team-explorer