|
4 | 4 | <PropertyGroup>
|
5 | 5 | <MdsVersionDefault>6.1.0</MdsVersionDefault>
|
6 | 6 | <BuildNumber Condition="'$(BuildNumber)' == ''">0</BuildNumber>
|
| 7 | + |
| 8 | + <!-- |
| 9 | + GOTCHA: These two properties must appear in the first <PropertyGroup> in |
| 10 | + this file due to hardcoded XML processing in: |
| 11 | +
|
| 12 | + eng/pipelines/common/templates/jobs/validate-signed-package-job.yml |
| 13 | + --> |
7 | 14 | <AssemblyFileVersion Condition="'$(AssemblyFileVersion)' == ''">$(MdsVersionDefault).$(BuildNumber)</AssemblyFileVersion>
|
8 |
| - <FileVersion>$(AssemblyFileVersion)</FileVersion> |
9 |
| - <!-- This Assembly version corresponds to version of Microsoft.Data.SqlClient Assembly. --> |
10 |
| - <!-- Should only be changed in future when a non-backwards compatible driver is released. --> |
11 |
| - <!-- Future Assembly Version values shall be Major.Minor.0.0; e.g. 4.0.0.0 --> |
| 15 | + <!-- |
| 16 | + This sets the version of the Microsoft.Data.SqlClient assembly. It |
| 17 | + should only be updated when the major version of the MDS package changes |
| 18 | + and introduces breaking changes. Only ever update the major version |
| 19 | + number. All other version parts must be set to 0. |
| 20 | + --> |
12 | 21 | <AssemblyVersion>6.0.0.0</AssemblyVersion>
|
| 22 | + |
| 23 | + <FileVersion>$(AssemblyFileVersion)</FileVersion> |
13 | 24 | <NugetPackageVersion Condition="'$(NugetPackageVersion)' == ''">$(MdsVersionDefault)-dev</NugetPackageVersion>
|
14 | 25 | <Version>$(NugetPackageVersion)</Version>
|
15 | 26 | </PropertyGroup>
|
|
24 | 35 | </PropertyGroup>
|
25 | 36 | <PropertyGroup>
|
26 | 37 | <TestAKVProviderVersion>$(NugetPackageVersion)</TestAKVProviderVersion>
|
| 38 | + |
| 39 | + <!-- |
| 40 | + GOTCHA: This property must appear in the last <PropertyGroup> in this file |
| 41 | + due to hardcoded XML processing in: |
| 42 | +
|
| 43 | + eng/pipelines/common/templates/jobs/validate-signed-package-job.yml |
| 44 | +
|
| 45 | + See the 'Modify TestMicrosoftDataSqlClientVersion' step. |
| 46 | + --> |
27 | 47 | <TestMicrosoftDataSqlClientVersion>$(NugetPackageVersion)</TestMicrosoftDataSqlClientVersion>
|
28 | 48 | </PropertyGroup>
|
29 | 49 | </Project>
|
0 commit comments