Quickstart: Analyzing .NET projects with SonarQube, MSBuild or Visual Studio Online, and third-party analyzers (StyleCop, ReSharper)
Sep 28, 2015Jean-Marc Prieur
Summary
This post details the integration of SonarQube with MSBuild and Visual Studio Online (VSO)/Team Foundation Server (TFS) builds. It provides a quick-start guide for local SonarQube server installation, running analyses with MSBuild.SonarQube.Runner 1.0.1, and incorporating third-party analyzers like StyleCop and ReSharper. It explains how to configure SonarQube quality profiles and activate rules for StyleCop, and demonstrates re-running analysis to include StyleCop issues. The post also touches on running analysis with Build vNext tasks in VSO/TFS.