1 |
// This file contains common AssemblyVersion data to be shared across all projects in this solution. |
2 |
using System.Reflection; |
3 |
using System.Runtime.InteropServices; |
4 |
[assembly: AssemblyVersion(AssemblyConfig.AssemblyVersion)] |
5 |
[assembly: AssemblyFileVersion(AssemblyConfig.AssemblyFileVersion)] |
6 |
|
7 |
#region BuildConstants |
8 |
public static class AssemblyConfig |
9 |
{ |
10 |
private const string Major = "4"; |
11 |
private const string Minor = $WCNOW=%#y$ << 9 | $WCNOW=%#m$ << 5 | $WCNOW=%#d$ |
12 |
private const string Build = "$WCNOW=%H%M$"; |
13 |
private const string Revision = "$WCREV$"; |
14 |
public const string AssemblyVersion = Major + "." + Minor + "." + Build + "." + Revision; |
15 |
public const string AssemblyFileVersion = Major + "." + Minor + "." + Build + "." + Revision; |
16 |
} |
17 |
#endregion |