forked from dotnet/orleans
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
193 lines (175 loc) · 9.95 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
<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>
<PublicRepositoryUrl>https://github.com/dotnet/orleans</PublicRepositoryUrl>
<PrivateRepositoryUrl>$(RepositoryUrl)</PrivateRepositoryUrl>
<RepositoryUrl>$(RepositoryUrl)</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<LangVersion>11</LangVersion>
<Features>strict</Features>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<DebugType>embedded</DebugType>
<IncludePackageReferencesDuringMarkupCompilation>true</IncludePackageReferencesDuringMarkupCompilation>
<IncludeSymbols>false</IncludeSymbols>
<IncludeSource>false</IncludeSource>
</PropertyGroup>
<PropertyGroup Condition="'$(TF_BUILD)' == 'true' or '$(GITHUB_ACTIONS)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</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>
</PropertyGroup>
<!-- FSharp SDK overrides -->
<PropertyGroup>
<DisableImplicitSystemValueTupleReference>true</DisableImplicitSystemValueTupleReference>
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
</PropertyGroup>
<!-- Shared Package Versions -->
<PropertyGroup>
<!-- System packages -->
<SystemDiagnosticsPerformanceCounterVersion>7.0.0-rc.2.22472.3</SystemDiagnosticsPerformanceCounterVersion>
<SystemIOHashingVersion>7.0.0-rc.2.22472.3</SystemIOHashingVersion>
<SystemNetNameResolutionVersion>4.3.0</SystemNetNameResolutionVersion>
<MicrosoftDotNetPlatformAbstractionsVersion>3.1.6</MicrosoftDotNetPlatformAbstractionsVersion>
<SystemIoPipelinesVersion>7.0.0-rc.2.22472.3</SystemIoPipelinesVersion>
<SystemMemoryDataVersion>7.0.0-rc.2.22472.3</SystemMemoryDataVersion>
<!-- Microsoft packages -->
<MicrosoftBuildVersion>17.3.2</MicrosoftBuildVersion>
<MicrosoftCodeAnalysisVersion>4.4.0-2.final</MicrosoftCodeAnalysisVersion>
<MicrosoftCodeAnalysisAnalyzersVersion>3.3.4-beta1.22403.2</MicrosoftCodeAnalysisAnalyzersVersion>
<MicrosoftCSharpVersion>4.7.0</MicrosoftCSharpVersion>
<MicrosoftAspNetCoreConnectionsAbstractionsVersion>7.0.0-rc.2.22476.2</MicrosoftAspNetCoreConnectionsAbstractionsVersion>
<MicrosoftExtensionsConfigurationVersion>7.0.0-rc.2.22472.3</MicrosoftExtensionsConfigurationVersion>
<MicrosoftExtensionsDependencyInjectionVersion>7.0.0-rc.2.22472.3</MicrosoftExtensionsDependencyInjectionVersion>
<MicrosoftExtensionsDependencyModelVersion>7.0.0-rc.2.22472.3</MicrosoftExtensionsDependencyModelVersion>
<MicrosoftExtensionsLoggingVersion>7.0.0-rc.2.22472.3</MicrosoftExtensionsLoggingVersion>
<MicrosoftExtensionsObjectPoolVersion>7.0.0-rc.2.22476.2</MicrosoftExtensionsObjectPoolVersion>
<MicrosoftExtensionsOptionsVersion>7.0.0-rc.2.22472.3</MicrosoftExtensionsOptionsVersion>
<MicrosoftExtensionsHttpVersion>7.0.0-rc.2.22472.3</MicrosoftExtensionsHttpVersion>
<MicrosoftExtensionsHostingAbstractionsVersion>7.0.0-rc.2.22472.3</MicrosoftExtensionsHostingAbstractionsVersion>
<MicrosoftExtensionsHostingVersion>7.0.0-rc.2.22472.3</MicrosoftExtensionsHostingVersion>
<MicrosoftApplicationInsightsVersion>2.20.0</MicrosoftApplicationInsightsVersion>
<AzureDataTablesVersion>12.6.1</AzureDataTablesVersion>
<AzureCoreVersion>1.25.0</AzureCoreVersion>
<AzureMessagingEventHubs>5.7.3</AzureMessagingEventHubs>
<AzureStorageBlobsVersion>12.14.0</AzureStorageBlobsVersion>
<AzureStorageQueuesVersion>12.12.0</AzureStorageQueuesVersion>
<MicrosoftServiceFabricServicesVersion>4.1.456</MicrosoftServiceFabricServicesVersion>
<!-- 3rd party packages -->
<AWSSDKDynamoDBv2Version>3.7.5.16</AWSSDKDynamoDBv2Version>
<AWSSDKSQSVersion>3.7.2.119</AWSSDKSQSVersion>
<BondCoreCSharpVersion>5.3.1</BondCoreCSharpVersion>
<ConsulVersion>1.6.10.7</ConsulVersion>
<GoogleCloudPubSubV1Version>1.0.0-beta13</GoogleCloudPubSubV1Version>
<GoogleProtobufVersion>3.21.7</GoogleProtobufVersion>
<ProtobufNetVersion>3.1.22</ProtobufNetVersion>
<NewRelicAgentApiVersion>9.4.0</NewRelicAgentApiVersion>
<NewtonsoftJsonVersion>13.0.1</NewtonsoftJsonVersion>
<ZooKeeperNetExVersion>3.4.12.4</ZooKeeperNetExVersion>
<StackExchangeRedisVersion>2.6.70</StackExchangeRedisVersion>
<KubernetesClientVersion>7.0.7</KubernetesClientVersion>
<!-- Test related packages -->
<FluentAssertionsVersion>6.7.0</FluentAssertionsVersion>
<MoqVersion>4.16.0</MoqVersion>
<MicrosoftTestSdkVersion>17.3.2</MicrosoftTestSdkVersion>
<BenchmarkDotNetVersion>0.13.2</BenchmarkDotNetVersion>
<XunitSkippableFactVersion>1.4.13</XunitSkippableFactVersion>
<xUnitVersion>2.4.2</xUnitVersion>
<xUnitRunnerVersion>2.4.5</xUnitRunnerVersion>
<NodaTimeVersion>3.1.4</NodaTimeVersion>
<AutofacExtensionsDependencyInjectionVersion>8.0.0</AutofacExtensionsDependencyInjectionVersion>
<StructureMapMicrosoftDependencyInjectionVersion>2.0.0</StructureMapMicrosoftDependencyInjectionVersion>
<SystemCodeDomVersion>7.0.0-rc.2.22472.3</SystemCodeDomVersion>
<MicrosoftNETFrameworkReferenceAssembliesVersion>1.0.3</MicrosoftNETFrameworkReferenceAssembliesVersion>
<AzureIdentityVersion>1.7.0</AzureIdentityVersion>
<AzureKeyVaultVersion>4.4.0</AzureKeyVaultVersion>
<FSharpCoreVersion>6.0.6</FSharpCoreVersion>
<NSubstituteVersion>4.4.0</NSubstituteVersion>
<NSubstituteAnalyzersCSharpVersion>1.0.15</NSubstituteAnalyzersCSharpVersion>
<CoverletVersion>3.0.3</CoverletVersion>
<CsCheckVersion>2.10.0</CsCheckVersion>
<DotnetReportGeneratorCliVersion>4.3.0</DotnetReportGeneratorCliVersion>
<SystemDataSqlClientVersion>4.8.4</SystemDataSqlClientVersion>
<NpgsqlVersion>6.0.7</NpgsqlVersion>
<MySqlDataVersion>8.0.31</MySqlDataVersion>
<MicrosoftExtensionsConfigurationAzureKeyVaultVersion>3.1.24</MicrosoftExtensionsConfigurationAzureKeyVaultVersion>
<SystemCommandLineVersion>2.0.0-beta1.21308.1</SystemCommandLineVersion>
<CrankVersion>0.2.0-alpha.21457.1</CrankVersion>
<MessagePackVersion>2.4.35</MessagePackVersion>
<ZeroFormatterVersion>1.6.4</ZeroFormatterVersion>
<Utf8JsonVersion>1.3.7</Utf8JsonVersion>
<SpanJsonVersion>3.3.1</SpanJsonVersion>
<HyperionVersion>0.12.2</HyperionVersion>
<GrpcToolsVersion>2.50.0</GrpcToolsVersion>
<!-- Tooling related packages -->
<SourceLinkVersion>1.1.1</SourceLinkVersion>
</PropertyGroup>
<!-- Versioning properties -->
<PropertyGroup>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<VersionPrefix Condition=" '$(VersionPrefix)'=='' ">7.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>
<Import Condition=" '$(OrleansBuildTimeCodeGen)' == 'true' " Project="$(MSBuildThisFileDirectory)src/Orleans.CodeGenerator/build/Microsoft.Orleans.CodeGenerator.props" />
<!-- Set output folder for created NuGet packages -->
<PropertyGroup>
<PackageOutputPath Condition=" '$(PackageOutputPath)'=='' ">$(SourceRoot)/Artifacts/$(Configuration)</PackageOutputPath>
</PropertyGroup>
<!-- Set output folder for distributed test apps -->
<PropertyGroup>
<DistributedTestsOutputPath Condition=" '$(DistributedODistributedTestsOutputPathutputPath)'=='' ">$(SourceRoot)/Artifacts/DistributedTests</DistributedTestsOutputPath>
</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>