File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 7979  <PropertyGroup >
8080    <!--  When OnlyPackPlatformSpecificPackages is set, only produce packages for projects which set RuntimeIdentifier. --> 
8181    <!--  Keep this below where we set "IsPackageInThisPatch" --> 
82-     <IsPackable  Condition ="  '$(OnlyPackPlatformSpecificPackages)' == 'true' AND '$(RuntimeIdentifier)' == '' " 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)' == '' " IsPackable >
8384  </PropertyGroup >
8485
8586  <PropertyGroup >
Original file line number Diff line number Diff line change 2121    <NamespaceGuid >DDBB771F-963F-47D3-8510-9ABD04DBE1D1</NamespaceGuid >
2222    <SchemaVersion >2.0</SchemaVersion >
2323    <ToolsetInstallerNuspecFile >$(RepoRoot)\src\Installers\Windows\TargetingPack\TargetingPackPackage.nuspec</ToolsetInstallerNuspecFile >
24+     <PackageVersion >$(TargetingPackVersionPrefix)</PackageVersion >
25+     <BundleVersion >$(TargetingPackVersionPrefix)</BundleVersion >
2426  </PropertyGroup >
2527
2628  <ItemGroup >
6163  <Target  Name =" ExtractIntermediateTargetingPack" BeforeTargets =" PrepareForBuild" 
6264    <PropertyGroup >
6365      <TargetingPackHarvestRoot  Condition =" '$(TargetingPackHarvestRoot)' == ''" TargetingPackHarvestRoot >
64-       <IntermediateTargetingPackZip >$(TargetingPackHarvestRoot)aspnetcore-targeting-pack-$(PackageVersion).zip</IntermediateTargetingPackZip >
66+       <TargetingPackZipVersion >$(TargetingPackVersionPrefix)</TargetingPackZipVersion >
67+       <TargetingPackZipVersion  Condition =" '$(VersionSuffix)' != ''" TargetingPackZipVersion >
68+       <IntermediateTargetingPackZip >$(TargetingPackHarvestRoot)aspnetcore-targeting-pack-$(TargetingPackZipVersion).zip</IntermediateTargetingPackZip >
6569    </PropertyGroup >
6670
6771    <Unzip  SourceFiles =" $(IntermediateTargetingPackZip)" DestinationFolder =" $(HarvestSource)" 
Original file line number Diff line number Diff line change 44    <!--  Actual upgrade code used in bundles to ensure upgrades withing a version band, e.g. 3.0.0.xxx --> 
55    <_FileRevisionVersion >$(VersionSuffixDateStamp)</_FileRevisionVersion >
66    <_FileRevisionVersion  Condition ="  '$(_FileRevisionVersion)' == '' " _FileRevisionVersion >
7-     <BundleVersion >$(AspNetCoreMajorMinorVersion).$(AspNetCorePatchVersion).$(_FileRevisionVersion)</BundleVersion >
7+     <BundleVersion  Condition =" '$(BundleVersion)' != ''" BundleVersion >
8+     <BundleVersion  Condition =" '$(BundleVersion)' == ''" BundleVersion >
89    <!--  Used for generating stable upgrade codes for bundles --> 
910    <Version >$(BundleVersion)</Version >
1011
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments