forked from ravendb/ravendb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CommonAssemblyInfo.cs
52 lines (45 loc) · 1.44 KB
/
CommonAssemblyInfo.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
using System;
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Hibernating Rhinos")]
[assembly: AssemblyCopyright("© Hibernating Rhinos 2004 - 2016 All rights reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: CLSCompliant(false)]
[assembly: AssemblyTitle("RavenDB")]
[assembly: AssemblyVersion("3.0.0")]
[assembly: AssemblyFileVersion("3.0.13.0")]
[assembly: AssemblyInformationalVersion("3.0.0 / {commit} / ")]
[assembly: AssemblyProduct("RavenDB")]
[assembly: AssemblyDescription("RavenDB is a second generation LINQ enabled document database for .NET")]
#if !DNXCORE50
[assembly: SuppressIldasm]
#endif
#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Release")]
#endif
[assembly: AssemblyDelaySign(false)]
[assembly: NeutralResourcesLanguage("en-US")]
[assembly: RavenVersion(Build = "{build-label}", CommitHash = "{commit}", Version = "3.0")]
[AttributeUsage(AttributeTargets.Assembly)]
public class RavenVersionAttribute : Attribute
{
private string build;
public string CommitHash { get; set; }
public string Build
{
get
{
int _;
if (int.TryParse(build, out _) == false)
return "13";
return build;
}
set { build = value; }
}
public string Version { get; set; }
}