Skip to content

Commit 2802c97

Browse files
authored
Directory.Build.props: don't overwrite PackageOS from source-build. (#85350)
1 parent 455150f commit 2802c97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@
207207

208208
<!-- source-build sets PackageOS to build with non-portable rid packages that were source-built previously. -->
209209
<PackageRID Condition="'$(PackageOS)' != ''">$(PackageOS)-$(TargetArchitecture)</PackageRID>
210-
<PackageRID>$(_packageOS)-$(TargetArchitecture)</PackageRID>
210+
<PackageRID Condition="'$(PackageRID)' == ''">$(_packageOS)-$(TargetArchitecture)</PackageRID>
211211
</PropertyGroup>
212212

213213
<!-- ToolsRID is used for packages needed on the build host. -->

0 commit comments

Comments
 (0)