-
Notifications
You must be signed in to change notification settings - Fork 8
/
Directory.Build.props
37 lines (36 loc) · 1.99 KB
/
Directory.Build.props
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
<Project>
<PropertyGroup>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
<MajorFileVersion>1</MajorFileVersion>
<MajorFileVersion Condition="$(GIT_REF.EndsWith('beta'))">$([MSBuild]::Add($(MajorFileVersion), 100))</MajorFileVersion>
<MinorFileVersion>27</MinorFileVersion>
<PatchFileVersion Condition="'$(COMMIT_NUMBER)'!=''">$(COMMIT_NUMBER)</PatchFileVersion>
<PatchFileVersion Condition="'$(COMMIT_NUMBER)'==''">0</PatchFileVersion>
<FileVersion>$(MajorFileVersion).$(MinorFileVersion).$(PatchFileVersion)</FileVersion>
<InformationalVersion>$([System.DateTime]::UtcNow.ToString("yyyyMMddHHmmss")).$(GIT_SHA)</InformationalVersion>
<Company>GeneXus</Company>
<AssemblyCulture></AssemblyCulture>
<Product>GeneXus</Product>
<AssemblyTrademark></AssemblyTrademark>
<CopyrightYear>$([System.DateTime]::UtcNow.ToString("yyyy"))</CopyrightYear>
<Copyright>Copyright © 1988-$(CopyrightYear) GeneXus. All Rights Reserved</Copyright>
<AssemblyOriginatorKeyFile Condition="'$(ARTECH_SNK_FILE)'!=''">$(ARTECH_SNK_FILE)</AssemblyOriginatorKeyFile>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<Authors>GeneXus</Authors>
<SignAssembly Condition="'$(AssemblyOriginatorKeyFile)'!=''">true</SignAssembly>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<WarningLevel>4</WarningLevel>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)StandardClasses.ruleset</CodeAnalysisRuleSet>
<GenerateAssemblyTitleAttribute>false</GenerateAssemblyTitleAttribute>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/genexuslabs/dotnetClasses</RepositoryUrl>
<RepositoryCommit>$(GIT_SHA)</RepositoryCommit>
<NoWarn>NU5105;CS0618;CS8032;CS0618;SYSLIB0021;SYSLIB0023</NoWarn>
<IsPackable>true</IsPackable>
<DisableImplicitNamespaceImports>True</DisableImplicitNamespaceImports>
</PropertyGroup>
<Target Name="GetFileVersionForPackage">
<Message Importance="high" Text="FileVersion:$(FileVersion)"></Message>
</Target>
</Project>