/[RomCheater]/trunk/VersioningSupport/SharedAssemblyInfo.cs.tmpl
ViewVC logotype

Diff of /trunk/VersioningSupport/SharedAssemblyInfo.cs.tmpl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 51 by william, Wed May 9 14:18:27 2012 UTC revision 260 by william, Sun Jun 3 19:15:41 2012 UTC
# Line 1  Line 1 
1  using System.Reflection;  // This file contains common AssemblyVersion data to be shared across all projects in this solution.
2  using System.Runtime.CompilerServices;  using System.Reflection;
3  using System.Runtime.InteropServices;  using System.Runtime.InteropServices;
4    [assembly: AssemblyCompany("Network Solutions")]
5    [assembly: AssemblyCopyright("Copyright © NeoH4x0r 2012")]
6    [assembly: AssemblyTrademark("")]
7  [assembly: AssemblyVersion("1.0.$WCREV$.0")]  [assembly: AssemblyCulture("")]
8  #if DEBUG  // Setting ComVisible to false makes the types in this assembly not visible
9  [assembly: AssemblyFileVersion("1.0.$WCREV$.0-debug")]  // to COM components.  If you need to access a type in this assembly from
10    // COM, set the ComVisible attribute to true on that type.
11    [assembly: ComVisible(false)]
12    [assembly: AssemblyVersion(AssemblyConfig.AssemblyVersion)]
13    #if DEBUG && !RELEASE
14  [assembly: AssemblyConfiguration("Debug")]  [assembly: AssemblyConfiguration("Debug")]
15  [assembly: AssemblyDescription("Flavor=Debug")] // a.k.a. "Comments"  [assembly: AssemblyFileVersion(AssemblyConfig.AssemblyFileVersion)]
16  #else  #endif
17  [assembly: AssemblyFileVersion("1.0.$WCREV$.0-release")]  #if RELEASE
18  [assembly: AssemblyConfiguration("Retail")]  [assembly: AssemblyConfiguration("Release")]
19  [assembly: AssemblyDescription("Flavor=Retail")] // a.k.a. "Comments"  [assembly: AssemblyFileVersion(AssemblyConfig.AssemblyFileVersion)]
20  #endif  #endif
21    
22    #region BuildConstants
23    public static class AssemblyConfig
24    {
25        private const string Tag = "dev";
26    #if DEBUG && !RELEASE
27        private const string Config = "debug";
28    #endif
29    #if RELEASE
30        private const string Config = "release";
31    #endif    
32    
33        private const string Major = "1";
34        private const string Minor = $WCNOW=%#y$ << 9 | $WCNOW=%#m$ << 5 | $WCNOW=%#d$;
35        private const string Build = "$WCNOW=%H%M$";
36        private const string Revision = "$WCREV$";
37            private const string SVNRev = "r" + Revision;
38        public const string AssemblyVersion = Major + "." + Minor + "." + Build + "." + Revision;
39        public const string AssemblyFileVersion = Major + "." + Minor + "." + Build + "." + SVNRev + "-" + Tag + "-" + Config;
40    }
41    #endregion

Legend:
Removed from v.51  
changed lines
  Added in v.260

  ViewVC Help
Powered by ViewVC 1.1.22