0

This is what i want to achieve:

When a developer runs code analysis on his solution folder or on a project i want all the errors and warnings generated by code analysis to be transferred to a remote server. To to this i want to write an extension to visual studio. But don't have a single clue where to start. Any head-start regarding how to get code-analysis output (through code) and send it to a remote location, would be appreciated.

Koushik Saha
  • 673
  • 1
  • 10
  • 25

1 Answers1

1

You can use something like SonarQube, that run the analysis and show it in a web based dashboard. The objective is of course to reuse your code analysis metrics there, which can be done using a plugin like Analysis Bootstrapper.

The "IDE" use case and the "Dashboard" use case are for me both needed - one provides the convenience inside the tool, the other allows to check that everyone is following the common rules. It's also good if it runs without manual action, as most of us do not have the discipline to do it regularly on our own.

Martin
  • 7,634
  • 1
  • 20
  • 23
  • i know about `SonarQube`. But the idea here is to user `Code Analysis` that comes with `Visual Studio`. Anyway i have found a way to upload `Code Analysis` results into a remote server from each of the developers machine. – Koushik Saha Apr 13 '15 at 08:27
  • 1
    I may be mistaken (not a C# dev), but I think they can create their config based on one from Code Analysis (ie, so that you don't have to duplicate your settings). – Martin Apr 13 '15 at 08:34