forked from microsoft/CLRInstrumentationEngine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVersion.props
75 lines (66 loc) · 3.92 KB
/
Version.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. -->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- Generate AssemblyFileVersion and AssemblyVersion attributes. -->
<PropertyGroup>
<!--
Semantic Version. See http://semver.org for full details.
Update for every public release.
NOTE: If the SemanticVersionMajor changes, please make the corresponding change to [CLRIE Repo]\src\InstrumentationEngine.ProfilerProxy.Lib\InstrumentationEngineVersion.cpp
-->
<SemanticVersionMajor>1</SemanticVersionMajor>
<SemanticVersionMinor>0</SemanticVersionMinor>
<SemanticVersionPatch>46</SemanticVersionPatch>
<FileVersionMajor>15</FileVersionMajor>
<FileVersionMinor>1</FileVersionMinor>
<FileVersionPatch>0</FileVersionPatch>
<!--
The Profiler Proxy dll is used by the MSI. During MSI install, component refcounts update but files
follow versioning rules where file versions greater than existing will replace, and files are not
downgraded to previous file versions if the MSI that introduces a newer file gets uninstalled.
The Proxy major version should always correspond to the CLRIE major version.
Be sure to update the ProxyFileVersion minor/patch only if new changes are added to the Proxy.
NOTE: If the ProxyFileVersionMajor changes, please make the corresponding change to [CLRIE Repo]\src\InstrumentationEngine.ProfilerProxy.Lib\InstrumentationEngineVersion.cpp
-->
<ProxyFileVersionMajor>$(SemanticVersionMajor)</ProxyFileVersionMajor>
<ProxyFileVersionMinor>0</ProxyFileVersionMinor>
<ProxyFileVersionPatch>3</ProxyFileVersionPatch>
<ProxyFileVersion>$(ProxyFileVersionMajor).$(ProxyFileVersionMinor).$(ProxyFileVersionPatch)</ProxyFileVersion>
<!--
Date when Semantic Version was changed.
Update for every public release.
Format is YYYY-MM-DD
-->
<SemanticVersionDate>2022-03-22</SemanticVersionDate>
<!--
Build version is used to distinguish internally built NuGet packages.
Build version (if not set by msbuild): yyyyMMdd
Pull the first number out of BUILD_BUILDNUMBER string before parsing as int since microbuild features
can append non-numeric characters on there.
-->
<BuildVersion Condition="$(BUILD_BUILDNUMBER) != ''">$([System.Int32]::Parse($([System.Text.RegularExpressions.Regex]::Match($(BUILD_BUILDNUMBER), `\d*`).ToString())))</BuildVersion>
<BuildVersion Condition="$(BUILD_BUILDNUMBER) == ''">$([System.DateTime]::Now.ToString('yyyyMMdd'))01</BuildVersion>
<PackageAuthors>Microsoft</PackageAuthors>
<PackageOwners>Microsoft</PackageOwners>
<!-- Turn on dynamic assembly attribute generation -->
<AssemblyAttributesPath>$(IntermediateOutputPath)\AssemblyInfo.g.cs</AssemblyAttributesPath>
<GenerateAdditionalSources Condition="'$(GenerateAdditionalSources)' == ''">true</GenerateAdditionalSources>
<AssemblyFileVersion>$(FileVersionMajor).$(FileVersionMinor).$(FileVersionPatch).$(BuildVersion)</AssemblyFileVersion>
</PropertyGroup>
<PropertyGroup>
<ReleaseVersion>$(SemanticVersionMajor).$(SemanticVersionMinor).$(SemanticVersionPatch)</ReleaseVersion>
<PackageVersion>$(ReleaseVersion)</PackageVersion>
<PackageVersion Condition="'$(PublicRelease)' != 'True'">$(PackageVersion)-build$(BuildVersion)</PackageVersion>
<PackageAuthors>Microsoft</PackageAuthors>
<PackageAuthors Condition="'$(PublicRelease)' != 'True'">Microsoft</PackageAuthors>
</PropertyGroup>
<ItemGroup Condition="'$(GenerateAssemblyFileVersionAttribute)' != 'false'">
<AssemblyAttributes Include="AssemblyVersion">
<_Parameter1>0.0.0.0</_Parameter1>
</AssemblyAttributes>
<AssemblyAttributes Include="AssemblyFileVersion">
<_Parameter1>$(AssemblyFileVersion)</_Parameter1>
</AssemblyAttributes>
</ItemGroup>
</Project>