--- trunk/VersioningSupport/SharedAssemblyInfo.cs.tmpl 2012/06/03 17:34:52 259 +++ trunk/VersioningSupport/SharedAssemblyInfo.cs.tmpl 2012/06/03 19:15:41 260 @@ -28,16 +28,14 @@ public static class AssemblyConfig #endif #if RELEASE private const string Config = "release"; -#endif - - private const string SVNRev = "r$WCREV$"; +#endif private const string Major = "1"; - private const string Minor = "$WCNOW=%Y$"; - private const string Build = "$WCNOW=%j$"; - private const string Revision = "$WCNOW=%H%M$"; - + private const string Minor = $WCNOW=%#y$ << 9 | $WCNOW=%#m$ << 5 | $WCNOW=%#d$; + private const string Build = "$WCNOW=%H%M$"; + private const string Revision = "$WCREV$"; + private const string SVNRev = "r" + Revision; public const string AssemblyVersion = Major + "." + Minor + "." + Build + "." + Revision; - public const string AssemblyFileVersion = Major + "." + Minor + "." + Build + "." + Revision + "-" + SVNRev + "-" + Tag + "-" + Config; + public const string AssemblyFileVersion = Major + "." + Minor + "." + Build + "." + SVNRev + "-" + Tag + "-" + Config; } #endregion |