1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <Project xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3+ <PropertyGroup >
4+ <CodeAnalysisRuleSet >$(MSBuildThisFileDirectory)/OpenCensus.prod.ruleset</CodeAnalysisRuleSet >
5+ <DocumentationFile Condition =" $(OS) == 'Windows_NT'" >$(OutputPath)/$(TargetFramework)/$(AssemblyName).xml</DocumentationFile >
6+ <PackageOutputPath Condition =" $(Build_ArtifactStagingDirectory) != ''" >$(Build_ArtifactStagingDirectory)</PackageOutputPath >
7+ </PropertyGroup >
8+
9+ <PropertyGroup Condition =" $(OS) == 'Windows_NT'" >
10+ <SignAssembly >true</SignAssembly >
11+ <AssemblyOriginatorKeyFile >$(MSBuildThisFileDirectory)/debug.snk</AssemblyOriginatorKeyFile >
12+ <DelaySign >false</DelaySign >
13+ <DefineConstants >$(DefineConstants);SIGNED</DefineConstants >
14+ </PropertyGroup >
15+
16+ <ItemGroup >
17+ <AdditionalFiles Include =" $(MSBuildThisFileDirectory)/stylecop.json" />
18+ </ItemGroup >
19+
20+ <PropertyGroup >
21+ <!--
22+ Semantic Version. See http://semver.org for full details.
23+ Update for every public release.
24+ -->
25+ <SemanticVersionMajor >0</SemanticVersionMajor >
26+ <SemanticVersionMinor >1</SemanticVersionMinor >
27+ <SemanticVersionPatch >0</SemanticVersionPatch >
28+ <!-- Valid values: beta1, beta2, EMPTY for stable -->
29+ <PreReleaseMilestone >beta1</PreReleaseMilestone >
30+ <!--
31+ Date when Semantic Version was changed.
32+ Update for every public release.
33+ NOTE!!!!!! Do not update when updating PreReleaseMilestone update
34+ as it will restart file versions so 2.4.0-beta1 may have higher
35+ file version (like 2.4.0.2222) than 2.4.0-beta2 (like 2.4.0.1111)
36+ -->
37+ <SemanticVersionDate >2018-08-25</SemanticVersionDate >
38+
39+ <PreReleaseVersion Condition =" '$(PreReleaseVersion)'==''" >$([MSBuild]::Divide($([System.DateTime]::Now.Subtract($([System.DateTime]::Parse($(SemanticVersionDate)))).TotalMinutes), 5).ToString('F0'))</PreReleaseVersion >
40+ </PropertyGroup >
41+
42+ <PropertyGroup >
43+ <VersionPrefix >$(SemanticVersionMajor).$(SemanticVersionMinor).$(SemanticVersionPatch)</VersionPrefix >
44+ <VersionSuffix >$(PreReleaseMilestone)-$(PreReleaseVersion)</VersionSuffix >
45+ <FileVersion Condition =" '$(PreReleaseVersion)' != ''" >$(SemanticVersionMajor).$(SemanticVersionMinor).$(SemanticVersionPatch).$(PreReleaseVersion)</FileVersion >
46+ </PropertyGroup >
47+ </Project >
0 commit comments