Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion eng/pipelines/runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1786,11 +1786,12 @@ extends:
parameters:
platforms:
- name: CentOS9
baseOS: linux-x64
targetRID: centos.9-x64
portableBuild: false
container: SourceBuild_centos_x64
- name: NonexistentRID
baseOS: linux
baseOS: linux-x64
targetRID: banana.24-x64
portableBuild: false
container: SourceBuild_centos_x64
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
<RuntimeIdentifier>$(OutputRID)</RuntimeIdentifier>
<!-- Set the apphost RID so we download the apphost pack if needed. -->
<AppHostRuntimeIdentifier>$(OutputRID)</AppHostRuntimeIdentifier>
<!--
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.
In that case, we need to set the AppHostRuntimeIdentifier to the base RID so the SDK can find a runtime pack for publishing.
-->
<AppHostRuntimeIdentifier Condition="'$(OutputRID)' != '$(NETCoreSdkRuntimeIdentifier)' and '$(BaseOS)' != '' ">$(BaseOS)</AppHostRuntimeIdentifier>
<UseLocalAppHostPack>true</UseLocalAppHostPack>
<!-- Don't use the local apphost pack on Windows as matching linker configurations is difficult. -->
<UseLocalAppHostPack Condition="'$(TargetOS)' == 'windows'">false</UseLocalAppHostPack>
Expand Down
Loading