File tree 3 files changed +9
-3
lines changed
3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 79
79
<PropertyGroup >
80
80
<!-- When OnlyPackPlatformSpecificPackages is set, only produce packages for projects which set RuntimeIdentifier. -->
81
81
<!-- Keep this below where we set "IsPackageInThisPatch" -->
82
- <IsPackable Condition =" '$(OnlyPackPlatformSpecificPackages)' == 'true' AND '$(RuntimeIdentifier)' == '' " >false</IsPackable >
82
+ <!-- Do not apply this logic to App.Ref and App.Ref.Internal, it's packability is determined by IsTargetingPackBuilding -->
83
+ <IsPackable Condition =" '$(MSBuildProjectName)' != 'Microsoft.AspNetCore.App.Ref' AND '$(MSBuildProjectName)' != 'Microsoft.AspNetCore.App.Ref.Internal' AND '$(OnlyPackPlatformSpecificPackages)' == 'true' AND '$(RuntimeIdentifier)' == '' " >false</IsPackable >
83
84
</PropertyGroup >
84
85
85
86
<PropertyGroup >
Original file line number Diff line number Diff line change 21
21
<NamespaceGuid >DDBB771F-963F-47D3-8510-9ABD04DBE1D1</NamespaceGuid >
22
22
<SchemaVersion >2.0</SchemaVersion >
23
23
<ToolsetInstallerNuspecFile >$(RepoRoot)\src\Installers\Windows\TargetingPack\TargetingPackPackage.nuspec</ToolsetInstallerNuspecFile >
24
+ <PackageVersion >$(TargetingPackVersionPrefix)</PackageVersion >
25
+ <BundleVersion >$(TargetingPackVersionPrefix)</BundleVersion >
24
26
</PropertyGroup >
25
27
26
28
<ItemGroup >
61
63
<Target Name =" ExtractIntermediateTargetingPack" BeforeTargets =" PrepareForBuild" >
62
64
<PropertyGroup >
63
65
<TargetingPackHarvestRoot Condition =" '$(TargetingPackHarvestRoot)' == ''" >$(InstallersOutputPath)</TargetingPackHarvestRoot >
64
- <IntermediateTargetingPackZip >$(TargetingPackHarvestRoot)aspnetcore-targeting-pack-$(PackageVersion).zip</IntermediateTargetingPackZip >
66
+ <TargetingPackZipVersion >$(TargetingPackVersionPrefix)</TargetingPackZipVersion >
67
+ <TargetingPackZipVersion Condition =" '$(VersionSuffix)' != ''" >$(TargetingPackZipVersion)-$(VersionSuffix)</TargetingPackZipVersion >
68
+ <IntermediateTargetingPackZip >$(TargetingPackHarvestRoot)aspnetcore-targeting-pack-$(TargetingPackZipVersion).zip</IntermediateTargetingPackZip >
65
69
</PropertyGroup >
66
70
67
71
<Unzip SourceFiles =" $(IntermediateTargetingPackZip)" DestinationFolder =" $(HarvestSource)" />
Original file line number Diff line number Diff line change 4
4
<!-- Actual upgrade code used in bundles to ensure upgrades withing a version band, e.g. 3.0.0.xxx -->
5
5
<_FileRevisionVersion >$(VersionSuffixDateStamp)</_FileRevisionVersion >
6
6
<_FileRevisionVersion Condition =" '$(_FileRevisionVersion)' == '' " >42424</_FileRevisionVersion >
7
- <BundleVersion >$(AspNetCoreMajorMinorVersion).$(AspNetCorePatchVersion).$(_FileRevisionVersion)</BundleVersion >
7
+ <BundleVersion Condition =" '$(BundleVersion)' != ''" >$(BundleVersion).$(_FileRevisionVersion)</BundleVersion >
8
+ <BundleVersion Condition =" '$(BundleVersion)' == ''" >$(AspNetCoreMajorMinorVersion).$(AspNetCorePatchVersion).$(_FileRevisionVersion)</BundleVersion >
8
9
<!-- Used for generating stable upgrade codes for bundles -->
9
10
<Version >$(BundleVersion)</Version >
10
11
You can’t perform that action at this time.
0 commit comments