MSBuild.ExtensionPack.CodeQuality Namespace

MSBuild Extension Pack

MSBuild.ExtensionPack.CodeQuality Namespace MSBuild Extension Pack Help 4.0.12.0

Overview

This namespace hosts tasks that are designed to scan your code and identify code quality / consistency issues.

Helpful Links

FxCop Blog

StyleCop Blog

Classes

  Class Description
Public class Code example FxCop
The FxCop task provides a basic wrapper over FxCopCmd.exe. See http://msdn.microsoft.com/en-gb/library/bb429449(VS.80).aspx for more details.

Valid TaskActions are:

Analyse (Required: Project and / or Files, OutputFile Optional: DependencyDirectories, Imports, Rules, ShowSummary, UpdateProject, Verbose, UpdateProject, LogToConsole, Types, FxCopPath, ReportXsl, OutputFile, ConsoleXsl, Project, SearchGac, IgnoreInvalidTargets, Quiet, ForceOutput, AspNetOnly, IgnoreGeneratedCode, OverrideRuleVisibilities, FailOnMissingRules, SuccessFile, Dictionary, Ruleset, RulesetDirectory, References, AssemblyCompareMode Output: AnalysisFailed, OutputText, ExitCode)

Remote Execution Support: NA

Public class Code example NUnit
Executes Test Cases using NUnit (Tested using v2.6.2)
Public class Code example NUnit3
Executes Test Cases using NUnit (Tested using v3.0.5610.33199)
Public class Code example StyleCop
Wraps the StyleCopConsole class to provide a mechanism for scanning files for StyleCop compliance.

Valid TaskActions are:

Scan (Required: SourceFiles, SettingsFile Optional: ShowOutput, ForceFullAnalysis, CacheResults, logFile, OutputFileOutput: Succeeded, ViolationCount, FailedFiles)

Remote Execution Support: No