ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/VersioningSupport/SharedAssemblyInfo.cs.tmpl
(Generate patch)

Comparing trunk/VersioningSupport/SharedAssemblyInfo.cs.tmpl (file contents):
Revision 259 by william, Sun Jun 3 17:34:52 2012 UTC vs.
Revision 260 by william, Sun Jun 3 19:15:41 2012 UTC

--- 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