.NET Standard 2.0
dotnet add package AltCode.Fake.DotNet.Gendarme --version
NuGet\Install-Package AltCode.Fake.DotNet.Gendarme -Version
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<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
#r "nuget: AltCode.Fake.DotNet.Gendarme,"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install AltCode.Fake.DotNet.Gendarme as a Cake Addin
#addin nuget:?package=AltCode.Fake.DotNet.Gendarme&version=

// Install AltCode.Fake.DotNet.Gendarme as a Cake Tool
#tool nuget:?package=AltCode.Fake.DotNet.Gendarme&version=


A Gendarme helper along the lines of the FxCop task Fake.DotNet.FxCop For FAKE >= 5.23.0 or later.

Can be used with the most recent homebrew release from my fork to analyze netcore/netstandard builds.


See the Wiki page for details

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated 321 12/4/2022 2,351 12/10/2020 842 11/17/2018

* Formal release of .net7.0, Fake ≥ 5.23.0 support

* Support for
* Support only Fake ≥ 5.23.0

* [Dependency change] Uses Fake ≥ 5.19.1 rather than ≥ 5.18.1
* [API change] The Fake`ToolType` of the `Params` object defaults to `GlobalTool` with tool name `gendarme` : see altcode.gendarme-tool for your global tool.

* [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 (v ≥ 5.9.3) : see Wiki entry [The `AltCode.Fake.DotNet.Gendarme` package](