-
Notifications
You must be signed in to change notification settings - Fork 0
/
Versions.props
110 lines (103 loc) · 6.94 KB
/
Versions.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
<Project>
<PropertyGroup Label="Version settings">
<!--
Use the following values for the different release types:
- "alpha"
- "beta"
- "rc"
- "rtm"
- "servicing"
-->
<VersionPrefix>5.0.0</VersionPrefix>
<PreReleaseVersionLabel>alpha</PreReleaseVersionLabel>
<PreReleaseVersionIteration>3</PreReleaseVersionIteration>
<!--
The following properties will automatically be set by CI builds when appropriate:
ContinuousIntegrationTimestamp
BuildSha
-->
</PropertyGroup>
<!--
If no version or else version suffix has been explicitly set, we generate one in the following format:
alpha.1.ci.20201004T181121Z+sha.0a1b2c3
-->
<PropertyGroup>
<UseVersionOverride Condition="'$(Version)' != ''">true</UseVersionOverride>
<UseVersionSuffixOverride Condition="'$(VersionSuffix)' != ''">true</UseVersionSuffixOverride>
</PropertyGroup>
<PropertyGroup Label="Version Suffix Handling" Condition="'$(UseVersionOverride)' != 'true' And '$(UseVersionSuffixOverride)' != 'true'">
<VersionSuffix>$(PreReleaseVersionLabel).$(PreReleaseVersionIteration)</VersionSuffix>
<VersionSuffix Condition="'$(ContinuousIntegrationTimestamp)' != ''">$(VersionSuffix).ci.$(ContinuousIntegrationTimestamp)</VersionSuffix>
<VersionSuffix Condition="'$(BuildSha)' != ''">$(VersionSuffix)+sha.$(BuildSha)</VersionSuffix>
</PropertyGroup>
<Target Name="EnsureVersionParameters" BeforeTargets="CoreBuild" Condition="'$(UseVersionOverride)' != 'true' And '$(UseVersionSuffixOverride)' != 'true'">
<Error Condition="'$(VersionPrefix)' == ''" Text="The 'VersionPrefix' property needs to be set." />
<Error Condition="'$(PreReleaseVersionLabel)' == ''" Text="The 'PreReleaseVersionLabel' property needs to be set." />
<Error Condition="'$(PreReleaseVersionIteration)' == ''" Text="The 'PreReleaseVersionIteration' property needs to be set." />
<!--
<Message Importance="high" Text="VersionPrefix: $(VersionPrefix)" />
<Message Importance="high" Text="VersionSuffix: $(VersionSuffix)" />
<Message Importance="high" Text="Version: $(Version)" />
-->
</Target>
<!-- TODO: Take a look at this. -->
<PropertyGroup>
<IncludeSourceRevisionInInformationalVersion>False</IncludeSourceRevisionInInformationalVersion>
</PropertyGroup>
<PropertyGroup Label="Common Versions">
<EntityFrameworkCoreVersion>5.0.0</EntityFrameworkCoreVersion>
<DotnetRuntimeVersion>5.0.0</DotnetRuntimeVersion>
</PropertyGroup>
<PropertyGroup Label="Dependencies">
<MicrosoftSourceLinkGitHubVersion>1.0.0</MicrosoftSourceLinkGitHubVersion>
<!-- EFCore.MySql Dependencies -->
<MicrosoftEntityFrameworkCoreRelationalVersion>$(EntityFrameworkCoreVersion)</MicrosoftEntityFrameworkCoreRelationalVersion>
<MySqlConnectorVersion>1.1.0</MySqlConnectorVersion>
<MicrosoftExtensionsCachingMemoryVersion>$(DotnetRuntimeVersion)</MicrosoftExtensionsCachingMemoryVersion>
<MicrosoftExtensionsDependencyInjection>$(DotnetRuntimeVersion)</MicrosoftExtensionsDependencyInjection>
<SystemDiagnosticsDiagnosticSourceVersion>$(DotnetRuntimeVersion)</SystemDiagnosticsDiagnosticSourceVersion>
<MicrosoftExtensionsLoggingVersion>$(DotnetRuntimeVersion)</MicrosoftExtensionsLoggingVersion>
<MicrosoftBclAsyncInterfacesVersion>$(DotnetRuntimeVersion)</MicrosoftBclAsyncInterfacesVersion>
<MicrosoftBclHashCodeVersion>1.1.0</MicrosoftBclHashCodeVersion>
<MicrosoftExtensionsHostFactoryResolverSourcesVersion>$(DotnetRuntimeVersion)</MicrosoftExtensionsHostFactoryResolverSourcesVersion>
<MicrosoftExtensionsConfigurationVersion>$(DotnetRuntimeVersion)</MicrosoftExtensionsConfigurationVersion>
<SystemCollectionsImmutableVersion>$(DotnetRuntimeVersion)</SystemCollectionsImmutableVersion>
<SystemComponentModelAnnotationsVersion>$(DotnetRuntimeVersion)</SystemComponentModelAnnotationsVersion>
<!-- EFCore.MySql.NTS Dependencies -->
<NetTopologySuiteVersion>2.1.0</NetTopologySuiteVersion>
<!-- EFCore.MySql.Json.Microsoft Dependencies -->
<SystemTextJsonVersion>$(DotnetRuntimeVersion)</SystemTextJsonVersion> <!-- 4.6.0 does not lead to build warnings in user projects, due to
some strange System.Text.Json made internal reference to
version 4.0.1.2 instead of 4.0.1.0.
CHECK again for .NET 5. -->
<!-- EFCore.MySql.Json.Newtonsoft Dependencies -->
<NewtonsoftJsonVersion>12.0.3</NewtonsoftJsonVersion>
<!-- Shared Test Dependencies -->
<MicrosoftNETTestSdkVersion>16.8.0</MicrosoftNETTestSdkVersion>
<XunitAssertVersion>2.4.1</XunitAssertVersion>
<XunitCoreVersion>2.4.1</XunitCoreVersion>
<XunitRunnerVisualStudioVersion>2.4.3</XunitRunnerVisualStudioVersion>
<XunitRunnerConsoleVersion>2.4.1</XunitRunnerConsoleVersion>
<XunitXmlTestLoggerVersion>2.1.26</XunitXmlTestLoggerVersion>
<MicrosoftEntityFrameworkCoreVersion>$(EntityFrameworkCoreVersion)</MicrosoftEntityFrameworkCoreVersion>
<MicrosoftEntityFrameworkCoreRelationalSpecificationTestsVersion>$(EntityFrameworkCoreVersion)</MicrosoftEntityFrameworkCoreRelationalSpecificationTestsVersion>
<MicrosoftEntityFrameworkCoreRelationalTestsVersion>$(EntityFrameworkCoreVersion)</MicrosoftEntityFrameworkCoreRelationalTestsVersion>
<!-- EFCoreMySqlFunctionalTests Dependencies -->
<MicrosoftEntityFrameworkCoreDesignVersion>$(EntityFrameworkCoreVersion)</MicrosoftEntityFrameworkCoreDesignVersion>
<MicrosoftExtensionsConfigurationEnvironmentVariablesVersion>$(DotnetRuntimeVersion)</MicrosoftExtensionsConfigurationEnvironmentVariablesVersion>
<MicrosoftExtensionsConfigurationFileExtensionsVersion>$(DotnetRuntimeVersion)</MicrosoftExtensionsConfigurationFileExtensionsVersion>
<MicrosoftExtensionsConfigurationJsonVersion>$(DotnetRuntimeVersion)</MicrosoftExtensionsConfigurationJsonVersion>
<MicrosoftExtensionsConfigurationBinderVersion>$(DotnetRuntimeVersion)</MicrosoftExtensionsConfigurationBinderVersion>
<SystemComponentModelTypeConverterVersion>4.3.0</SystemComponentModelTypeConverterVersion>
<CastleCoreVersion>4.4.1</CastleCoreVersion>
<!-- EFCoreMySqlIntegrationTests Dependencies -->
<MicrosoftAspNetCoreIdentityEntityFrameworkCoreVersion>5.0.0</MicrosoftAspNetCoreIdentityEntityFrameworkCoreVersion>
<MicrosoftAspNetCoreMvcNewtonsoftJsonVersion>5.0.0</MicrosoftAspNetCoreMvcNewtonsoftJsonVersion>
<!-- EFCoreMySqlTests Dependencies -->
<MicrosoftEntityFrameworkCoreDesignVersion>$(EntityFrameworkCoreVersion)</MicrosoftEntityFrameworkCoreDesignVersion>
<MicrosoftCodeAnalysisCSharpVersion>3.7.0</MicrosoftCodeAnalysisCSharpVersion>
<MicrosoftExtensionsDependencyModelVersion>5.0.0</MicrosoftExtensionsDependencyModelVersion>
<MoqVersion>4.15.1</MoqVersion>
<NewtonsoftJsonVersion>12.0.3</NewtonsoftJsonVersion>
</PropertyGroup>
</Project>