ploeh / ZeroToNine

A tool for maintaining .NET Assembly versions across multiple files.
MIT License
147 stars 16 forks source link

Support for partial versions #14

Closed ploeh closed 10 years ago

ploeh commented 10 years ago

The TryParse function currently doesn't pick up version attributes with partial versions, that is, version without four segments. It should support such attributes as well.

[assembly: AssemblyVersion("2")]
[assembly: AssemblyVersion("2.1")]
[assembly: AssemblyVersion("2.1.4")]

Additionally, it should offer the same support for AssemblyFileVersion attributes.