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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 261 - (hide annotations) (download)
Sun Jun 3 19:24:48 2012 UTC (8 years, 4 months ago) by william
File size: 1687 byte(s)

1 william 53 // This file contains common AssemblyVersion data to be shared across all projects in this solution.
2     using System.Reflection;
3 william 117 using System.Runtime.InteropServices;
4 william 53 [assembly: AssemblyCompany("Network Solutions")]
5     [assembly: AssemblyCopyright("Copyright © NeoH4x0r 2012")]
6     [assembly: AssemblyTrademark("")]
7     [assembly: AssemblyCulture("")]
8     // Setting ComVisible to false makes the types in this assembly not visible
9     // 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 william 211 [assembly: AssemblyVersion(AssemblyConfig.AssemblyVersion)]
13 william 185 #if DEBUG && !RELEASE
14     [assembly: AssemblyConfiguration("Debug")]
15 william 211 [assembly: AssemblyFileVersion(AssemblyConfig.AssemblyFileVersion)]
16 william 185 #endif
17     #if RELEASE
18     [assembly: AssemblyConfiguration("Release")]
19 william 213 [assembly: AssemblyFileVersion(AssemblyConfig.AssemblyFileVersion)]
20 william 185 #endif
21 william 211
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 william 260 #endif
32 william 211
33     private const string Major = "1";
34 william 260 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 william 261 private const string SVNRev = "r$WCREV$";
38 william 211 public const string AssemblyVersion = Major + "." + Minor + "." + Build + "." + Revision;
39 william 260 public const string AssemblyFileVersion = Major + "." + Minor + "." + Build + "." + SVNRev + "-" + Tag + "-" + Config;
40 william 211 }
41     #endregion

  ViewVC Help
Powered by ViewVC 1.1.22