forked from dotnet/orleans
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
153 lines (135 loc) · 7.42 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
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<Project>
<!-- Set the repository root into a variable -->
<PropertyGroup>
<SourceRoot>$(MSBuildThisFileDirectory)</SourceRoot>
</PropertyGroup>
<!-- Set common properties regarding assembly information and nuget packages -->
<PropertyGroup>
<Authors>Microsoft</Authors>
<Product>Microsoft Orleans</Product>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
<PackageLicenseUrl>https://github.com/dotnet/Orleans#license</PackageLicenseUrl>
<PackageProjectUrl>https://github.com/dotnet/Orleans</PackageProjectUrl>
<PackageIconUrl>https://raw.githubusercontent.com/dotnet/orleans/gh-pages/assets/logo_128.png</PackageIconUrl>
<PackageTags>Orleans Cloud-Computing Actor-Model Actors Distributed-Systems C# .NET</PackageTags>
<PackageReleaseNotes></PackageReleaseNotes>
<RepositoryUrl>https://github.com/dotnet/Orleans</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<IncludeSymbols>true</IncludeSymbols>
<IncludeSource>true</IncludeSource>
</PropertyGroup>
<!-- Common compile parameters -->
<PropertyGroup>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<NoWarn>$(NoWarn);1591</NoWarn>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<!-- We use full (Windows PDBs) until cross platform support for source link will get better -->
<DebugType>full</DebugType>
</PropertyGroup>
<!-- FSharp SDK overrides -->
<PropertyGroup>
<DisableImplicitSystemValueTupleReference>true</DisableImplicitSystemValueTupleReference>
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
</PropertyGroup>
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TestProjectTargetFramework>net461</TestProjectTargetFramework>
</PropertyGroup>
<!-- Shared Package Versions -->
<PropertyGroup>
<!-- System packages -->
<SystemRuntimeVersion>4.3.0</SystemRuntimeVersion>
<SystemCollectionsImmutableVersion>1.4.0</SystemCollectionsImmutableVersion>
<SystemNetHttpVersion>4.3.2</SystemNetHttpVersion>
<SystemReflectionMetadataVersion>1.5.0</SystemReflectionMetadataVersion>
<SystemReflectionTypeExtensionsVersion>4.4.0</SystemReflectionTypeExtensionsVersion>
<SystemValueTupleVersion>4.4.0</SystemValueTupleVersion>
<!-- Microsoft packages -->
<MicrosoftBuildVersion>15.3.409</MicrosoftBuildVersion>
<MicrosoftCodeAnalysisCSharpVersion>2.0.0</MicrosoftCodeAnalysisCSharpVersion>
<MicrosoftExtensionsConfigurationBinderVersion>2.0.0</MicrosoftExtensionsConfigurationBinderVersion>
<MicrosoftExtensionsConfigurationEnvironmentVariablesVersion>2.0.0</MicrosoftExtensionsConfigurationEnvironmentVariablesVersion>
<MicrosoftExtensionsConfigurationJsonVersion>2.0.0</MicrosoftExtensionsConfigurationJsonVersion>
<MicrosoftExtensionsConfigurationVersion>2.0.0</MicrosoftExtensionsConfigurationVersion>
<MicrosoftExtensionsDependencyInjectionVersion>2.0.0</MicrosoftExtensionsDependencyInjectionVersion>
<MicrosoftExtensionsDependencyModelVersion>2.0.0</MicrosoftExtensionsDependencyModelVersion>
<MicrosoftExtensionsLoggingVersion>2.0.0</MicrosoftExtensionsLoggingVersion>
<MicrosoftExtensionsOptionsConfigurationExtensionsVersion>2.0.0</MicrosoftExtensionsOptionsConfigurationExtensionsVersion>
<MicrosoftExtensionsOptionsVersion>2.0.0</MicrosoftExtensionsOptionsVersion>
<MicrosoftApplicationInsightsVersion>2.4.0</MicrosoftApplicationInsightsVersion>
<MicrosoftAzureEventHubsVersion>1.0.3</MicrosoftAzureEventHubsVersion>
<MicrosoftDataSQLiteVersion>2.0.0</MicrosoftDataSQLiteVersion>
<MicrosoftPowerShell5ReferenceAssembliesVersion>1.1.0</MicrosoftPowerShell5ReferenceAssembliesVersion>
<MicrosoftServiceFabricServicesVersion>2.7.198</MicrosoftServiceFabricServicesVersion>
<WindowsAzureStorageVersion>8.2.1</WindowsAzureStorageVersion>
<FSharpCoreVersion>4.2.3</FSharpCoreVersion>
<SystemManagementAutomationdllVersion>10.0.10586</SystemManagementAutomationdllVersion>
<!-- 3rd party packages -->
<AWSSDKDynamoDBv2Version>3.3.4.17</AWSSDKDynamoDBv2Version>
<AWSSDKSQSVersion>3.3.2.7</AWSSDKSQSVersion>
<BondCoreCSharpVersion>5.3.1</BondCoreCSharpVersion>
<ConsulVersion>0.7.2.3</ConsulVersion>
<GoogleCloudPubSubV1Version>1.0.0-beta13</GoogleCloudPubSubV1Version>
<GoogleProtobufVersion>3.4.0</GoogleProtobufVersion>
<MySqlDataVersion>6.9.9</MySqlDataVersion>
<NewRelicAgentApiVersion>5.10.59.0</NewRelicAgentApiVersion>
<NewtonsoftJsonVersion>10.0.3</NewtonsoftJsonVersion>
<NpgsqlVersion>3.1.9</NpgsqlVersion>
<NSubstituteVersion>1.10.0</NSubstituteVersion>
<ZooKeeperNetExVersion>3.4.9.4</ZooKeeperNetExVersion>
<!-- Test related packages -->
<MicrosoftTestSdkVersion>15.5.0</MicrosoftTestSdkVersion>
<BenchmarkDotNetVersion>0.10.9</BenchmarkDotNetVersion>
<FluentAssertionsVersion>4.19.4</FluentAssertionsVersion>
<XunitSkippableFactVersion>1.3.3</XunitSkippableFactVersion>
<xUnitVersion>2.3.1</xUnitVersion>
<NodaTimeVersion>2.2.2</NodaTimeVersion>
<!-- Tooling related packages -->
<SourceLinkVersion>2.5.0</SourceLinkVersion>
</PropertyGroup>
<!-- Versioning properties -->
<PropertyGroup>
<VersionPrefix Condition=" '$(VersionPrefix)'=='' ">2.0.0</VersionPrefix>
<VersionSuffix Condition=" '$(VersionSuffix)'=='' ">dev</VersionSuffix>
</PropertyGroup>
<!-- For Debug builds generated a date/time dependent version suffix -->
<PropertyGroup Condition=" '$(Configuration)'=='Debug' ">
<VersionSuffix Condition=" '$(VersionSuffix)'=='' ">dev</VersionSuffix>
<VersionSuffix Condition=" '$(VersionDateSuffix)'!='' ">$(VersionSuffix)-$(VersionDateSuffix)</VersionSuffix>
</PropertyGroup>
<!-- Set output folder for created NuGet packages -->
<PropertyGroup>
<PackageOutputPath Condition=" '$(PackageOutputPath)'=='' ">$(SourceRoot)/Artifacts/$(Configuration)</PackageOutputPath>
</PropertyGroup>
<Choose>
<When Condition="'$(OfficialBuild)' != 'true'">
<!-- On non-official builds we don't burn in a git sha. In large part because it
hurts our determinism efforts as binaries which should be the same between
builds will not (due to developers building against different HEAD
values -->
<PropertyGroup>
<GitHeadSha><developer build></GitHeadSha>
</PropertyGroup>
</When>
<When Condition="'$(BUILD_SOURCEVERSION)' != ''">
<PropertyGroup>
<GitHeadSha>$(BUILD_SOURCEVERSION)</GitHeadSha>
</PropertyGroup>
</When>
<When Condition="'$(BUILD_SOURCEVERSION)' == '' AND '$(GIT_COMMIT)' != ''">
<PropertyGroup>
<GitHeadSha>$(GIT_COMMIT)</GitHeadSha>
</PropertyGroup>
</When>
<Otherwise>
<PropertyGroup>
<GitHeadSha>Not found</GitHeadSha>
<DotGitDir>$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory).git'))</DotGitDir>
<HeadFileContent Condition="Exists('$(DotGitDir)/HEAD')">$([System.IO.File]::ReadAllText('$(DotGitDir)/HEAD').Trim())</HeadFileContent>
<RefPath Condition="$(HeadFileContent.StartsWith('ref: '))">$(DotGitDir)/$(HeadFileContent.Substring(5))</RefPath>
<GitHeadSha Condition="'$(RefPath)' != '' AND Exists('$(RefPath)')">$([System.IO.File]::ReadAllText('$(RefPath)').Trim())</GitHeadSha>
<GitHeadSha Condition="'$(HeadFileContent)' != '' AND '$(RefPath)' == ''">$(HeadFileContent)</GitHeadSha>
</PropertyGroup>
</Otherwise>
</Choose>
</Project>