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
2
votes
1 answer

Is there a way of displaying code review request/response work items on the Azure devops tfs sprint board

I am changing our sprint board to have a code review column. Currently we request a code review from the task inside visual studio. This leaves the task in the active state on the board and a new code review work item is created but only displayed…
McAuley
  • 99
  • 8
2
votes
1 answer

Open vstfs url from running instance of Visual Studio

This should be simple, right? I copied a link such as vstfs:///CodeReview/Request/37229?url=http. . . . . (code review) and tried to open it in running Visual Studio 2017. The closest I came with is View-Other Windows-Web Browser. Pasted my link,…
T.S.
  • 18,195
  • 11
  • 58
  • 78
2
votes
1 answer

Random code review assignee in TFS

Is there a way to set up TFS code reviews to be assigned to a random team member? The motivation for this is that I believe that the team members often assign someone they discussed, or even pair programmed, a problem with. That reduces one of the…
FishySwede
  • 1,563
  • 1
  • 17
  • 24
2
votes
1 answer

Display code reviews that need to be completed on TFS board

Is there any way to do this? I have looked into TFPT, Review Assistant, and the Microsoft.TeamFoundationServer.Client and Microsoft.VisualStudio.Services.Client NuGet packages. I just want something that I can create code reviews with which will…
Alex
  • 402
  • 5
  • 13
2
votes
1 answer

TFS code review how to review code against older version that is not prior version or version in a different branch

We would like to use the TFS 2012 Code Review but ran into a snag where we need to compare the current version to the version from 3 changes ago (or compare it to the version in a different branch (e.g. Main or Release branch). Does this type of…
Remy
  • 407
  • 3
  • 17
2
votes
1 answer

In Visual Studio 2012/2013 is there any way to filter out CodeReview shelvesets?

We've started doing code reviews in VisualStudio which is great however it creates a shelveset for each code review. Now when I open the Find Shelvesets window, the list is polluted with all the code review shelvesets. Is there any way to filter…
2
votes
2 answers

Changing the "My Code Reviews & Requests" in TFS 2012

Somehow I have changed the TFS 2012 query that is used for code reviews. This query can be found under "My Work" in VS 2012 towards the bottom. I can see the guts of the query by selecting "open query" next to the title "My Code Reviews & Requests"…
Ryan Pedersen
  • 3,177
  • 27
  • 39
1
vote
1 answer

How to raise code review for some class out of many class in my package?

I have a master branch which I kept clean and I cut a branch dev from there. this is the branch currently I am working on. I have 20 classes on this branch in my package and I have to raise the CR for 5 classes only. How can I do that? for now what…
Akash Patel
  • 189
  • 1
  • 5
  • 13
1
vote
0 answers

TFS 2015 view content doesn't show any code

We have a TFS 2015 server created, and none of the developer in our team will be able to see the file content. In Pull Request part, it is still the same thing which makes the code review really difficult. We can only see the code content if we…
Chen Long
  • 69
  • 6
1
vote
0 answers

Can I query TFS Discussion column?

I want to query the Discussion column of a TFS task. I use Visual Studio 2012 Professional Edition. Now, I am only able to fetch entire history column. The 'Discussion' column which is inside of 'History' is not available when creating a new…
TkTech
  • 37
  • 7
1
vote
2 answers

How to automatically request a code review after checking in code into TFS

I like to know if it is possible, and if so how, to automatically request a code review while code is being checked into TFS. So, for instance, I would like to have the request code review gui inside the pending changes gui, so that I can enter the…
1
vote
1 answer

TFS 2013, Code review assigned to me but I don't see it in my work items

Using TFS 2013 from Visual Studio 2012/2015, a developer requests a code review from me for a shelveset (I've seen their screenshot). However, the request never appears in my work items. Any ideas why? Also, same shelveset, I can view and comment…
user1443098
  • 6,487
  • 5
  • 38
  • 67
1
vote
2 answers

Is there a way to see the GUI of a Windows Form Application from a code review request in TFS?

We are a company that started using TFS 2015. My colleague has created a C# Windows Form application. He sends me a Code Review request from TFS. I was able to get his request and accept it as well. The problem I am facing is that I am not able to…
ehh
  • 3,412
  • 7
  • 43
  • 91
1
vote
1 answer

Configure Visual Studio Team Services Pull Request to require Git Rebase

Is it possible to configure Visual Studio Team Services Pull Request to require a Branch be Rebased? In other words, fail the PR if a Fast-Forward is not possible?
Philip Pittle
  • 11,821
  • 8
  • 59
  • 123
1
vote
1 answer

How can I set up a code review process to my remote peers before checking in to TFS?

My development environment is set up behind a corporate proxy through remote VMs. We uses Visual Studio as the main platform for our code developement , so we had no issue with code review process as Team Foundation Server have this feature. However…
cy.lee
  • 57
  • 5