|
1 | 1 | <Project> |
2 | 2 | <!-- Set versioning properties after Arcade SDK targets have been imported. --> |
3 | 3 | <PropertyGroup> |
4 | | - <!-- Used for generating stable upgrade codes for bundles --> |
5 | | - <Version>$(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion).$(AspNetCorePatchVersion).$(FileRevisionVersion)</Version> |
6 | 4 | <!-- Actual upgrade code used in bundles to ensure upgrades withing a version band, e.g. 3.0.0.xxx --> |
7 | 5 | <_FileRevisionVersion>$(VersionSuffixDateStamp)</_FileRevisionVersion> |
8 | 6 | <_FileRevisionVersion Condition=" '$(_FileRevisionVersion)' == '' ">42424</_FileRevisionVersion> |
9 | | - <BundleVersion>$(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion).$(AspNetCorePatchVersion).$(_FileRevisionVersion)</BundleVersion> |
| 7 | + <BundleVersion>$(AspNetCoreMajorMinorVersion).$(AspNetCorePatchVersion).$(_FileRevisionVersion)</BundleVersion> |
| 8 | + <!-- Used for generating stable upgrade codes for bundles --> |
| 9 | + <Version>$(BundleVersion)</Version> |
10 | 10 |
|
11 | 11 | <DefineConstants>$(DefineConstants);MajorVersion=$(AspNetCoreMajorVersion)</DefineConstants> |
12 | 12 | <DefineConstants>$(DefineConstants);MinorVersion=$(AspNetCoreMinorVersion)</DefineConstants> |
|
21 | 21 | </PropertyGroup> |
22 | 22 |
|
23 | 23 | <PropertyGroup> |
24 | | - <GuidInputs>$(Version);$(Platform);$(VersionSuffix);$(_BuildNumberLabels)</GuidInputs> |
| 24 | + <GuidInputs>$(Version);$(Platform);$(VersionSuffix)</GuidInputs> |
25 | 25 | </PropertyGroup> |
26 | 26 |
|
27 | 27 | <Target Name="GenerateGUIDs" BeforeTargets="BeforeBuild" DependsOnTargets="_GeneratePackageGuids;_GenerateBundleGuids" Condition=" '$(DisableGuidGeneration)' != 'true' " /> |
|
44 | 44 | the upgrade code. Bundle upgrades pivot on Major.Minor.Patch changes. For example, 3.0.1-preview 1 can upgrade to 3.0.1-preview 8, but 3.0.1 |
45 | 45 | cannot upgrade to 3.0.2 or 3.1. --> |
46 | 46 | <PropertyGroup> |
47 | | - <BundleGuidInputs>$(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion).$(AspNetCorePatchVersion);$(Platform)</BundleGuidInputs> |
| 47 | + <BundleGuidInputs>$(AspNetCoreMajorMinorVersion);$(Platform)</BundleGuidInputs> |
48 | 48 | </PropertyGroup> |
49 | 49 | <GenerateGuid NamespaceGuid="$(NamespaceGuid)" Values="$(BundleGuidInputs)"> |
50 | 50 | <Output TaskParameter="Guid" PropertyName="BundleProviderKey" /> |
|
0 commit comments