Questions tagged [tfs-code-review]

The TFS Code Review tools in Visual Studio 2012 and later are used to get reviews from peers within TFS projects. Use with the [tfs] tag

Microsoft page on the code review feature

For the first time, Visual Studio 2012 includes a Code Review process out of the box by leveraging the Team Foundation Server Work Item Tracking system along with the use of shelvesets. All the information is easily accessible through the redesigned Team Explorer window and Team Foundation Server Web Access. This allows code reviewers to compare code files, annotate them, and send comments back to the requester.

80 questions
141
votes
4 answers

TFS Code Reviews - Show updated files in response to comments

We are beginning to use the code review functionality built-in to VS 2012 and VS 2013 preview. Requesting the review and adding comments seem pretty straightforward. If someone adds comments requesting the code to be changed, then how does the…
John
  • 1,786
  • 3
  • 17
  • 18
30
votes
4 answers

How do I associate a review request with multiple changesets in TFS 2012

Our development process works like this: Every 2 weeks the team lead (me) goes in and reviews everyone's changesets to make sure they are up to the coding standards. I would like to use TFS 2012 to help automate this process. There are 2 problems…
Doug
  • 1,018
  • 2
  • 9
  • 16
26
votes
3 answers

How do I view comments from an earlier code review in Team Foundation Service?

I'm using Microsoft's online Team Foundation Service with Visual Studio 2012 Premium. I performed a code review for a colleague a couple of months ago, and now another code review has come through for the same project. I want to be able to view the…
Simon White
  • 789
  • 2
  • 8
  • 16
22
votes
4 answers

How to find all files a particular user has ever changed in Team Foundation Server

I know there is an easy way to do this with SVN so there must be a similar way with TFS. Basically, I want to have a list of every file a particular username ever edited (IE: checked out & changed or added). This is on TFS 2008.
Bryan Rowe
  • 9,185
  • 4
  • 26
  • 34
18
votes
2 answers

Using TFS API, how can I find the comments which were made on a Code Review?

I'm trying to figure out a way to find details about a Code Review Request / Response item in TFS2012. I can query for all Code Review Request/Response items in the following way: const string TfsUri = "http://mytfsserver:8080/tfs/Default…
RoelF
  • 7,483
  • 5
  • 44
  • 67
17
votes
3 answers

How to create a comment in Azure DevOps PR in case of build failure?

I have a custom build step that fails under certain conditions during my Pull Request build, within Azure DevOps. I would like to extend it further by raising a PR comment, similar to this sort of thing in…
Rob
  • 6,819
  • 17
  • 71
  • 131
17
votes
2 answers

How to force Code Review before Check-In in TFS 2012 RC?

I've just installed TFS 2012 RC and Visual Studio 2012 RC. I see some interesting feartures: Code Review, Build Success before check-in. But it do not! So my question is: How to force Code Review before Check-In in TFS 2012 RC? How to force…
Vinh
  • 1,217
  • 2
  • 9
  • 9
15
votes
6 answers

TFS annotate/blame summary report for a project

In Team Foundation Server, I know that you can use the Annotate feature to see who last edited each line in a particular file (equivalent to "Blame" in CVS). What I'd like to do is akin to running Annotate on every file in a project, and get a…
SqlRyan
  • 33,116
  • 33
  • 114
  • 199
12
votes
1 answer

how to update existing shelve set in tfs

My team is using shelving for code review, for X++ code. Which is not a native visual studio language. So you can consider like we storing text files in TFS. For code developer create a shelve and send it over to the team to reviews it and send…
Gainster
  • 5,481
  • 19
  • 61
  • 90
9
votes
2 answers

How to take ownership of a code review task?

Using TFS 2013 and Visual Studio 2013 Premium Preview is it possible to take ownership of another person's code review task? The situation I have is that another developer has requested a code review and then gone on holiday. The code review has…
Cold Machine
  • 126
  • 7
8
votes
1 answer

Visual Studio 2015, code review, and custom compare/merge tool, is there a way to make all of this work?

I have configured Visual Studio 2015, which uses Team Foundation Version Control, to use Beyond Compare 4 as its merge and compare tool. This, however, makes the code review functionality nonfunctional since code review relies on the built-in…
Lasse V. Karlsen
  • 380,855
  • 102
  • 628
  • 825
7
votes
2 answers

How to view code review comments in Visual Studio 2013

No idea where the code review comments can be seen, but I need to see them. I am not the person who "requested" the code review, nor am I the person who has provided comments and completed the code review. I am the "tech lead" for the project,…
iluomo
  • 151
  • 1
  • 7
7
votes
1 answer

Code Review Workflow + Feature Branching in TFS

We are starting to work with feature branches and we want to set up a check-in policy that only allows check-ins to the baseline when they have an associated code review. The new code review workflow in 2012 is quite nice, since you can easily…
pmb
  • 866
  • 7
  • 24
7
votes
1 answer

VS 2012 with TFS 2012: "My Work"/Code Review feature not available in Team Explorer

I already tried the new Team Project Templates and the Code Review Work Item Type is available but the feature does not show up in Team Explorer. What am I missing?
timmkrause
  • 3,367
  • 4
  • 32
  • 59
7
votes
3 answers

TFS 2012 - Code review - Reviewer name is not in the list of allowed reviewers

I want to use TFS 2012 code review template. I am using vS2012 online TFS workspace, where i created 5 of users. From VS2012 I am trying to Add Reviewer to review my code, it display error like "Reviewer name is not in the list of allowed…
Krunal Solanki
  • 511
  • 5
  • 10
1
2 3 4 5 6