A helper task for running Mono.Gendarme from FAKE ( >= 5.18.1 )

Install-Package AltCode.Fake.DotNet.Gendarme -Version
dotnet add package AltCode.Fake.DotNet.Gendarme --version
<PackageReference Include="AltCode.Fake.DotNet.Gendarme" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AltCode.Fake.DotNet.Gendarme --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

* [Dependency change] Uses Fake >= 5.18.1 rather than >= 5.9.3
* [API change] Update to add a Fake `ToolType` to the `Params` object.  If you use the `Create` method, this should be transparent to you, as it defaults to `FullFramework`.
* [API change] In `Params.Create`, use the updated Fake Process APIs to look for Gendarme, which means it will look in PATH first, then locally, and default the `ToolPath` to just plain `gendarme` if nothing is found.

* [BUGFIX] As "--limit 0" means "report nothing" not "report all", make zero limit emit nothing to the command line
* [Enhancement] `FailBuildOnDefect` parameter, default `true`, to determine if defect detection will fail the build.
* **NOTE** whether --limit is set > 0 or omitted, if there are > 0 defects reported Gendarme exits with return code 1.  It limit is set zero, or there are no defects against the rules engaged, then it returns 0.  Failing the build on >= N defects for N > 0 does not come for free, but would require parsing one form of output or another, and no form of output is guaranteed -- they can all be switched off.

* [NEW PACKAGE] `AltCode.Fake.DotNet.Gendarme` containing Gendarme task helper types for FAKE scripts (v5.9.3 or later) : see Wiki entry [The `AltCode.Fake.DotNet.Gendarme` package](

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated 166 2/27/2020 416 11/17/2018