File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 33  <PropertyGroup >
44    <_IsPublishing >true</_IsPublishing >
55    <RuntimeIdentifier >$(OutputRID)</RuntimeIdentifier >
6-     <RuntimeIdentifier  Condition =" '$(BaseOS)' != ''"  >$(BaseOS)</RuntimeIdentifier >
6+     <!-- 
7+       If the output RID isn't the current SDK RID and we have a "base" RID, then the output RID isn't known to the SDK. 
8+       In that case, we need to set the RuntimeIdentifier to the base RID so the SDK can find a runtime pack for publishing. 
9+     -->  
10+     <RuntimeIdentifier  Condition =" '$(OutputRID)' != '$(NETCoreSdkRuntimeIdentifier)' and '$(BaseOS)' != '' "  >$(BaseOS)</RuntimeIdentifier >
711    <PublishDir >$(RuntimeBinDir)ilc-published/</PublishDir >
812    <SelfContained >true</SelfContained >
913    <PublishTrimmed >true</PublishTrimmed >
Original file line number Diff line number Diff line change 33  <PropertyGroup >
44    <_IsPublishing >true</_IsPublishing >
55    <RuntimeIdentifier >$(OutputRID)</RuntimeIdentifier >
6-     <RuntimeIdentifier  Condition =" '$(BaseOS)' != ''"  >$(BaseOS)</RuntimeIdentifier >
6+     <!-- 
7+       If the output RID isn't the current SDK RID and we have a "base" RID, then the output RID isn't known to the SDK. 
8+       In that case, we need to set the RuntimeIdentifier to the base RID so the SDK can find a runtime pack for publishing. 
9+     -->  
10+     <RuntimeIdentifier  Condition =" '$(OutputRID)' != '$(NETCoreSdkRuntimeIdentifier)' and '$(BaseOS)' != '' "  >$(BaseOS)</RuntimeIdentifier >
711    <PublishDir >$(RuntimeBinDir)crossgen2-published/</PublishDir >
812    <SelfContained >true</SelfContained >
913    <PublishTrimmed >true</PublishTrimmed >
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments