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.
Asked
Active
Viewed 78 times
2 Answers
2
You could either request review for a pending change or find the particular shelveset and then request review. check the screenshot below:

Cece Dong - MSFT
- 29,631
- 1
- 24
- 39
-
Correct. But before request to review someone, i just want to run code analysis myself for pendig changes or shelvset. – Karthikeyan Aug 07 '18 at 09:22
-
1In VS, you can only run code analysis manually on a project or the solution by default, on the `Analyz`e menu, click `Run Code Analysis` on*ProjectName*. You can check this extension to see whether it meets your requirement: https://marketplace.visualstudio.com/items?itemName=SonarSource.SonarLintforVisualStudio2017&gclid=EAIaIQobChMIr52fu8_a3AIV04yPCh12gw7WEAAYASAAEgLoLfD_BwE – Cece Dong - MSFT Aug 07 '18 at 09:30
1
You can use TFS build, run the code analysis on the MS Build task and queue the build for specific shelveset.

Shayki Abramczyk
- 36,824
- 16
- 89
- 114