Skip to content

Integrating StyleCop Into Build Environments

Christophe HEISER edited this page Aug 16, 2015 · 2 revisions

It is possible to integrate the StyleCop toolset into a build environment, so that the tool will run whenever a build is performed and will export style and consistency violations as build warnings or build errors. There are various levels of build integration available, depending upon the types of tools used within your team's build environment.

MSBuild Integration

Learn how to integrate StyleCop into an MSBuild-based build system using the standard StyleCop MSBuild task: Integrating StyleCop into MSBuild

Learn how to create a custom MSBuild wrapper for StyleCop to enable more advanced scenarios: Custom MSBuild Integration

Custom Build Integration

Learn how to write a custom wrapper for StyleCop to integrate the tool into a custom build environment: Hosting StyleCop in a Custom Environment

Clone this wiki locally