Skip to content

Commit 505d928

Browse files
committed
Added AssemblyInfo.
1 parent aff1f90 commit 505d928

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
using System.Reflection;
2+
using System.Runtime.InteropServices;
3+
4+
[assembly: AssemblyTitle("Extensions.Options.AutoBinder")]
5+
[assembly: AssemblyProduct("Extensions.Options.AutoBinder")]
6+
[assembly: AssemblyCompany("Gowon, Ltd.")]
7+
[assembly: AssemblyCopyright("Copyright © Gowon, Ltd. 2022")]
8+
9+
#if DEBUG
10+
[assembly: AssemblyConfiguration("Debug")]
11+
#else
12+
[assembly: AssemblyConfiguration("Release")]
13+
#endif
14+
15+
#pragma warning disable CS0436 // Type conflicts with imported type
16+
[assembly: AssemblyVersion(ThisAssembly.Version)]
17+
[assembly: AssemblyFileVersion(ThisAssembly.SimpleVersion)]
18+
[assembly: AssemblyInformationalVersion(ThisAssembly.InformationalVersion)]
19+
#pragma warning restore CS0436 // Type conflicts with imported type
20+
21+
// Setting ComVisible to false makes the types in this assembly not visible
22+
// to COM components. If you need to access a type in this assembly from
23+
// COM, set the ComVisible attribute to true on that type.
24+
[assembly: ComVisible(false)]
25+
26+
// The following GUID is for the ID of the typelib if this project is exposed to COM
27+
[assembly: Guid("1b87d88d-8b88-49ef-ab49-7a498569605c")]
28+
29+
// ReSharper disable once CheckNamespace
30+
internal partial class ThisAssembly
31+
{
32+
/// <summary>
33+
/// Simple release-like version number, like 4.0.1 for a cycle 5, SR1 build.
34+
/// </summary>
35+
public const string SimpleVersion =
36+
Git.SemVer.Major + "." + Git.SemVer.Minor + "." + Git.SemVer.Patch;
37+
38+
/// <summary>
39+
/// Full version, including commits since base version file, like 4.0.1.598
40+
/// </summary>
41+
public const string Version = SimpleVersion;
42+
43+
/// <summary>
44+
/// Full version, plus branch and commit short sha, like 4.0.1.598-cycle6+39cf84e
45+
/// </summary>
46+
#if ALPHA_BUILD
47+
public const string InformationalVersion = Version + "-alpha" + "+" + Git.Commit;
48+
#else
49+
public const string InformationalVersion = Version + "+" + Git.Commit;
50+
51+
#endif
52+
}

0 commit comments

Comments
 (0)