/[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 185 by william, Mon May 28 10:21:03 2012 UTC revision 259 by william, Sun Jun 3 17:34:52 2012 UTC
# Line 9  using System.Runtime.InteropServices; Line 9  using System.Runtime.InteropServices;
9  // to COM components.  If you need to access a type in this assembly from  // 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.  // COM, set the ComVisible attribute to true on that type.
11  [assembly: ComVisible(false)]  [assembly: ComVisible(false)]
12  // Version information for an assembly consists of the following four values:  [assembly: AssemblyVersion(AssemblyConfig.AssemblyVersion)]
 //  
 //      Major Version  
 //      Minor Version  
 //      Revision  
 //      Build  
 [assembly: AssemblyVersion("1.0.0.$WCREV$")]  
 //[assembly: AssemblyFileVersion("1.0.0.$WCREV$")]  
13  #if DEBUG && !RELEASE  #if DEBUG && !RELEASE
14  [assembly: AssemblyConfiguration("Debug")]  [assembly: AssemblyConfiguration("Debug")]
15  [assembly: AssemblyFileVersion("1.0.0.182-debug")]  [assembly: AssemblyFileVersion(AssemblyConfig.AssemblyFileVersion)]
16  #endif  #endif
17  #if RELEASE  #if RELEASE
18  [assembly: AssemblyConfiguration("Release")]  [assembly: AssemblyConfiguration("Release")]
19  [assembly: AssemblyFileVersion("1.0.0.182-release")]  [assembly: AssemblyFileVersion(AssemblyConfig.AssemblyFileVersion)]
20  #endif  #endif
21  //[assembly: ProcessorAssemblyArchitecture(ProcessorAssemblyArchitecture.x86)]  
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 SVNRev = "r$WCREV$";
34    
35        private const string Major = "1";
36        private const string Minor = "$WCNOW=%Y$";
37        private const string Build = "$WCNOW=%j$";
38        private const string Revision = "$WCNOW=%H%M$";
39    
40        public const string AssemblyVersion = Major + "." + Minor + "." + Build + "." + Revision;
41        public const string AssemblyFileVersion = Major + "." + Minor + "." + Build + "." + Revision + "-" + SVNRev + "-" + Tag + "-" + Config;
42    }
43    #endregion

Legend:
Removed from v.185  
changed lines
  Added in v.259

  ViewVC Help
Powered by ViewVC 1.1.22