forked from scriptcs/scriptcs
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathScriptCs.Version.props
More file actions
33 lines (28 loc) · 1.67 KB
/
ScriptCs.Version.props
File metadata and controls
33 lines (28 loc) · 1.67 KB
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
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- Use the properties below to control the version of the assemblies created. -->
<PropertyGroup>
<MajorVersion>0</MajorVersion>
<MinorVersion>15</MinorVersion>
<PatchVersion>0</PatchVersion>
<!-- Change this to set the build quality of the project. Use values like "alpha", "beta", "rc1", "rtm", etc. -->
<!-- These values are used in SemVer, so make sure to always increase these alphabetically. -->
<BuildQuality></BuildQuality>
</PropertyGroup>
<!-- These are calculated based on the values of the properties above. -->
<PropertyGroup>
<AssemblyVersion>$(MajorVersion).$(MinorVersion).0</AssemblyVersion>
<AssemblyInformationalVersion>$(MajorVersion).$(MinorVersion).$(PatchVersion)</AssemblyInformationalVersion>
<AssemblyInformationalVersion Condition=" '$(BuildQuality)' != '' ">$(AssemblyInformationalVersion)-$(BuildQuality)</AssemblyInformationalVersion>
<AssemblyInformationalVersion Condition=" '$(IsNightlyBuild)' != '' ">$(AssemblyInformationalVersion)-nightly-$([System.DateTime]::UtcNow.ToString("yyMMdd"))</AssemblyInformationalVersion>
<PackageVersion>$(AssemblyInformationalVersion)</PackageVersion>
</PropertyGroup>
<ItemGroup>
<AssemblyAttributes Include="System.Reflection.AssemblyVersionAttribute">
<_Parameter1>$(AssemblyVersion)</_Parameter1>
</AssemblyAttributes>
<AssemblyAttributes Include="System.Reflection.AssemblyInformationalVersionAttribute">
<_Parameter1>$(AssemblyInformationalVersion)</_Parameter1>
</AssemblyAttributes>
</ItemGroup>
</Project>