Karthikeyan
Karthikeyan

Reputation: 173

How to do code analysis for particular shelveset in visual studio?

Kindly sugest a way to do code analysis of a particular shelvset (or only checked out / modified code) in visual studio. No luck using google.

Upvotes: 1

Views: 88

Answers (2)

Shayki Abramczyk
Shayki Abramczyk

Reputation: 41545

You can use TFS build, run the code analysis on the MS Build task and queue the build for specific shelveset.

  • Create an empty TFS Build, add MS Build Task and put the argument: /p:RunCodeAnalysis=true enter image description here
  • Queue the build and choose a Shelveset. enter image description here

Upvotes: 1

Cece Dong - MSFT
Cece Dong - MSFT

Reputation: 31003

You could either request review for a pending change or find the particular shelveset and then request review. check the screenshot below:

enter image description here

Upvotes: 2

Related Questions