Skip to content

Gendarme.Rules.Design.MarkAssemblyWithAssemblyVersionRule(git)

Sebastien Pouliot edited this page Mar 2, 2011 · 1 revision

MarkAssemblyWithAssemblyVersionRule

Assembly: Gendarme.Rules.Design
Version: git

Description

This rule fires if an assembly does not contain a AssemblyVersion attribute. Early and correct versioning of assemblies is easy and crucial for consumers of your assemblies. Note that the AssemblyVersion should match the AssemblyFileVersion attribute (if it exists).

Examples

Good example:

[assembly: AssemblyVersion ("1.0.0.0")]

Notes

  • This rule is available since Gendarme 2.2

Source code

You can browse the latest source code of this rule on github.com

Clone this wiki locally