diff --git a/src/SourceBuild/content/repo-projects/sdk.proj b/src/SourceBuild/content/repo-projects/sdk.proj
index 050dabf28..79b1ef060 100644
--- a/src/SourceBuild/content/repo-projects/sdk.proj
+++ b/src/SourceBuild/content/repo-projects/sdk.proj
@@ -7,6 +7,12 @@
$(BuildCommandArgs) /p:PackageProjectUrl=https://github.com/dotnet/sdk
$(BuildCommandArgs) /p:PublishCompressedFilesPathPrefix=$(SourceBuiltToolsetDir)
+
+ <_platformIndex>$(NETCoreSdkPortableRuntimeIdentifier.LastIndexOf('-'))
+ <_baseOS>$(NETCoreSdkPortableRuntimeIdentifier.Substring(0, $(_platformIndex)))
+ $(BuildCommandArgs) /p:PortableRid=$(_baseOS)-$(Platform)
+ $(BuildCommandArgs) /p:TargetRid=$(TargetRid)
+
$(BuildCommandArgs) /p:NativeAotSupported=false