forked from dotnet/orleans
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
241 lines (222 loc) · 13.3 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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
<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>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/dotnet/Orleans</PackageProjectUrl>
<PackageIcon>logo_128.png</PackageIcon>
<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>
<LangVersion>latest</LangVersion>
</PropertyGroup>
<ItemGroup>
<None Include="$(SourceRoot)assets/logo_128.png" Pack="true" Visible="false" PackagePath="/" />
</ItemGroup>
<!-- Common compile parameters -->
<PropertyGroup>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<NoWarn>$(NoWarn);1591;2003</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>
<!-- Shared Package Versions -->
<PropertyGroup>
<!-- System packages -->
<SystemRuntimeVersion>4.3.1</SystemRuntimeVersion>
<SystemDataSqlClientVersion>4.8.0</SystemDataSqlClientVersion>
<SystemDataCommonVersion>4.3.0</SystemDataCommonVersion>
<SystemDiagnosticsEventLogVersion>4.7.0</SystemDiagnosticsEventLogVersion>
<SystemConfigurationConfigurationManagerVersion>4.7.0</SystemConfigurationConfigurationManagerVersion>
<SystemCollectionsImmutableVersion>1.7.0</SystemCollectionsImmutableVersion>
<SystemRuntimeCompilerServicesUnsafeVersion>4.7.0</SystemRuntimeCompilerServicesUnsafeVersion>
<SystemNetHttpVersion>4.3.4</SystemNetHttpVersion>
<SystemNetNameResolutionVersion>4.3.0</SystemNetNameResolutionVersion>
<SystemReflectionMetadataVersion>1.8.0</SystemReflectionMetadataVersion>
<SystemReflectionTypeExtensionsVersion>4.7.0</SystemReflectionTypeExtensionsVersion>
<SystemValueTupleVersion>4.5.0</SystemValueTupleVersion>
<SystemReflectionEmitVersion>4.7.0</SystemReflectionEmitVersion>
<SystemThreadingTasksExtensionsVersion>4.5.3</SystemThreadingTasksExtensionsVersion>
<SystemThreadingChannelsVersion>4.7.0</SystemThreadingChannelsVersion>
<SystemBuffersVersion>4.5.0</SystemBuffersVersion>
<SystemMemoryVersion>4.5.3</SystemMemoryVersion>
<SystemIOPipelinesVersion>4.7.0</SystemIOPipelinesVersion>
<SystemCodeDomVersion>4.7.0</SystemCodeDomVersion>
<SystemSecurityPermissionsVersion>4.7.0</SystemSecurityPermissionsVersion>
<SystemDiagnosticsDiagnosticsSourceVersion>4.7.0</SystemDiagnosticsDiagnosticsSourceVersion>
<!-- Microsoft packages -->
<MicrosoftBuildVersion>16.4.0</MicrosoftBuildVersion>
<MicrosoftCodeAnalysisVersion>3.4.0</MicrosoftCodeAnalysisVersion>
<MicrosoftWin32RegistryVersion>4.7.0</MicrosoftWin32RegistryVersion>
<MicrosoftBclAsyncInterfacesVersion>1.1.0</MicrosoftBclAsyncInterfacesVersion>
<MicrosoftNETFrameworkReferenceAssembliesVersion>1.0.0</MicrosoftNETFrameworkReferenceAssembliesVersion>
<MicrosoftAspNetCoreConnectionsAbstractionsVersion>3.0.0</MicrosoftAspNetCoreConnectionsAbstractionsVersion>
<MicrosoftExtensionsConfigurationBinderVersion>3.0.0</MicrosoftExtensionsConfigurationBinderVersion>
<MicrosoftExtensionsConfigurationEnvironmentVariablesVersion>3.0.0</MicrosoftExtensionsConfigurationEnvironmentVariablesVersion>
<MicrosoftExtensionsConfigurationJsonVersion>3.0.0</MicrosoftExtensionsConfigurationJsonVersion>
<MicrosoftExtensionsConfigurationVersion>3.0.0</MicrosoftExtensionsConfigurationVersion>
<MicrosoftExtensionsDependencyInjectionVersion>3.0.0</MicrosoftExtensionsDependencyInjectionVersion>
<MicrosoftExtensionsDependencyModelVersion>3.0.0</MicrosoftExtensionsDependencyModelVersion>
<MicrosoftExtensionsLoggingVersion>3.0.0</MicrosoftExtensionsLoggingVersion>
<MicrosoftExtensionsObjectPoolVersion>3.0.0</MicrosoftExtensionsObjectPoolVersion>
<MicrosoftExtensionsOptionsConfigurationExtensionsVersion>3.0.0</MicrosoftExtensionsOptionsConfigurationExtensionsVersion>
<MicrosoftExtensionsOptionsVersion>3.0.0</MicrosoftExtensionsOptionsVersion>
<MicrosoftExtensionsHostingAbstractionsVersion>3.0.0</MicrosoftExtensionsHostingAbstractionsVersion>
<MicrosoftExtensionsHostingVersion>3.0.0</MicrosoftExtensionsHostingVersion>
<MicrosoftApplicationInsightsVersion>2.4.0</MicrosoftApplicationInsightsVersion>
<MicrosoftAzureCosmosTableVersion>1.0.5</MicrosoftAzureCosmosTableVersion>
<MicrosoftAzureEventHubsVersion>4.1.0</MicrosoftAzureEventHubsVersion>
<MicrosoftAzureStorageBlobVersion>11.1.0</MicrosoftAzureStorageBlobVersion>
<MicrosoftAzureStorageQueueVersion>11.1.0</MicrosoftAzureStorageQueueVersion>
<MicrosoftDataSQLiteVersion>3.1.0</MicrosoftDataSQLiteVersion>
<MicrosoftServiceFabricServicesVersion>3.4.664</MicrosoftServiceFabricServicesVersion>
<FSharpCoreVersion>4.7.0</FSharpCoreVersion>
<!-- 3rd party packages -->
<AWSSDKDynamoDBv2Version>3.3.102.2</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>
<ProtobufNetVersion>2.3.7</ProtobufNetVersion>
<MySqlDataVersion>8.0.18</MySqlDataVersion>
<NewRelicAgentApiVersion>8.0.0.0</NewRelicAgentApiVersion>
<NewtonsoftJsonVersion>10.0.3</NewtonsoftJsonVersion>
<NpgsqlVersion>3.1.9</NpgsqlVersion>
<NSubstituteVersion>4.2.0</NSubstituteVersion>
<NSubstituteAnalyzersCSharpVersion>1.0.10</NSubstituteAnalyzersCSharpVersion>
<ZooKeeperNetExVersion>3.4.12.1</ZooKeeperNetExVersion>
<!-- Test related packages -->
<FluentAssertionsVersion>4.19.4</FluentAssertionsVersion>
<MicrosoftTestSdkVersion>16.4.0</MicrosoftTestSdkVersion>
<BenchmarkDotNetVersion>0.12.0</BenchmarkDotNetVersion>
<XunitSkippableFactVersion>1.3.12</XunitSkippableFactVersion>
<DotNetxUnitVersion>2.3.1</DotNetxUnitVersion>
<xUnitVersion>2.4.1</xUnitVersion>
<NodaTimeVersion>2.4.7</NodaTimeVersion>
<!-- Tooling related packages -->
<SourceLinkVersion>2.8.3</SourceLinkVersion>
</PropertyGroup>
<!-- Versioning properties -->
<PropertyGroup>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<VersionPrefix Condition=" '$(VersionPrefix)'=='' ">3.0.0</VersionPrefix>
</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>
<PropertyGroup Condition=" $(FullBuild)=='' ">
<FullBuild>true</FullBuild>
</PropertyGroup>
<!-- Inner dependency versions -->
<PropertyGroup Condition="$(FullBuild) != 'true'">
<OrleansCoreAbstractionsVersion>2.3.0</OrleansCoreAbstractionsVersion>
<OrleansRuntimeAbstractionsVersion>2.3.0</OrleansRuntimeAbstractionsVersion>
<OrleansCoreVersion>2.3.0</OrleansCoreVersion>
<OrleansRuntimeVersion>2.3.0</OrleansRuntimeVersion>
<OrleansProvidersVersion>2.3.0</OrleansProvidersVersion>
<OrleansExtensionsVersion>2.3.0</OrleansExtensionsVersion>
<OrleansEventSourcingVersion>2.3.0</OrleansEventSourcingVersion>
<OrleansAdoNetVersion>2.3.0</OrleansAdoNetVersion>
<OrleansAWSVersion>2.3.0</OrleansAWSVersion>
<OrleansAzureClusteringVersion>2.3.0</OrleansAzureClusteringVersion>
<OrleansAzureStreamingVersion>2.3.0</OrleansAzureStreamingVersion>
<OrleansAzureEventHubsVersion>2.3.0</OrleansAzureEventHubsVersion>
<OrleansAzurePersistenceVersion>2.3.0</OrleansAzurePersistenceVersion>
<OrleansAzureRemindersVersion>2.3.0</OrleansAzureRemindersVersion>
<OrleansAzureMetapackageVersion>2.3.0</OrleansAzureMetapackageVersion>
<OrleansGoogleCloudProviderVersion>2.3.0</OrleansGoogleCloudProviderVersion>
<OrleansAzureCloudServicesVersion>2.3.0</OrleansAzureCloudServicesVersion>
<OrleansTestingHostVersion>2.3.0</OrleansTestingHostVersion>
<OrleansTransactionsVersion>2.3.0</OrleansTransactionsVersion>
<OrleansServiceFabricVersion>2.3.0</OrleansServiceFabricVersion>
<OrleansSerializersVersion>2.3.0</OrleansSerializersVersion>
<OrleansToolsVersion>2.3.0</OrleansToolsVersion>
<OrleansClientVersion>2.3.0</OrleansClientVersion>
<OrleansServerVersion>2.3.0</OrleansServerVersion>
<OrleansCodegenVersion>2.3.0</OrleansCodegenVersion>
<OrleansEventHubProviderVersion>2.3.0</OrleansEventHubProviderVersion>
<OrleansTelemetryConsumersVersion>2.3.0</OrleansTelemetryConsumersVersion>
</PropertyGroup>
<PropertyGroup Condition="$(FullBuild) == 'true'">
<OrleansCoreAbstractionsVersion>$(VersionPrefix)</OrleansCoreAbstractionsVersion>
<OrleansRuntimeAbstractionsVersion>$(VersionPrefix)</OrleansRuntimeAbstractionsVersion>
<OrleansCoreVersion>$(VersionPrefix)</OrleansCoreVersion>
<OrleansRuntimeVersion>$(VersionPrefix)</OrleansRuntimeVersion>
<OrleansProvidersVersion>$(VersionPrefix)</OrleansProvidersVersion>
<OrleansExtensionsVersion>$(VersionPrefix)</OrleansExtensionsVersion>
<OrleansEventSourcingVersion>$(VersionPrefix)</OrleansEventSourcingVersion>
<OrleansAdoNetVersion>$(VersionPrefix)</OrleansAdoNetVersion>
<OrleansAWSVersion>$(VersionPrefix)</OrleansAWSVersion>
<OrleansAzureClusteringVersion>$(VersionPrefix)</OrleansAzureClusteringVersion>
<OrleansAzureStreamingVersion>$(VersionPrefix)</OrleansAzureStreamingVersion>
<OrleansAzureEventHubsVersion>$(VersionPrefix)</OrleansAzureEventHubsVersion>
<OrleansAzurePersistenceVersion>$(VersionPrefix)</OrleansAzurePersistenceVersion>
<OrleansAzureRemindersVersion>$(VersionPrefix)</OrleansAzureRemindersVersion>
<OrleansAzureMetapackageVersion>$(VersionPrefix)</OrleansAzureMetapackageVersion>
<OrleansGoogleCloudProviderVersion>$(VersionPrefix)</OrleansGoogleCloudProviderVersion>
<OrleansAzureCloudServicesVersion>$(VersionPrefix)</OrleansAzureCloudServicesVersion>
<OrleansTestingHostVersion>$(VersionPrefix)</OrleansTestingHostVersion>
<OrleansTransactionsVersion>$(VersionPrefix)</OrleansTransactionsVersion>
<OrleansServiceFabricVersion>$(VersionPrefix)</OrleansServiceFabricVersion>
<OrleansSerializersVersion>$(VersionPrefix)</OrleansSerializersVersion>
<OrleansToolsVersion>$(VersionPrefix)</OrleansToolsVersion>
<OrleansClientVersion>$(VersionPrefix)</OrleansClientVersion>
<OrleansServerVersion>$(VersionPrefix)</OrleansServerVersion>
<OrleansCodegenVersion>$(VersionPrefix)</OrleansCodegenVersion>
<OrleansEventHubProviderVersion>$(VersionPrefix)</OrleansEventHubProviderVersion>
<OrleansTelemetryConsumersVersion>$(VersionPrefix)</OrleansTelemetryConsumersVersion>
</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>