[Mono-list] Versioning

Ralf Reiterer ralfreit at gmx.at
Wed Feb 1 19:33:25 EST 2006


> There's only one way to version an assembly: with an attribute:
> 
> 	[assembly: System.Reflection.AssemblyVersion 
> 		("major.minor.micro.build")]
> 
> Where major, minor, micro, and build are all integers, e.g 
> "1.0.5000.0".

Just for the records, actually it is:

	[assembly: System.Reflection.AssemblyVersion 
		("major.minor.build.micro")]

That is build and micro need to be swapped. So for the version example
above, you get

Major:	1
Minor:	0
Build:	5000
Micro:	0

The last component is also called revision.

Ralf



More information about the Mono-list mailing list