diff --git a/src/SourceBuild/content/repo-projects/sdk.proj b/src/SourceBuild/content/repo-projects/sdk.proj index a77e3f092..e1e865d7b 100644 --- a/src/SourceBuild/content/repo-projects/sdk.proj +++ b/src/SourceBuild/content/repo-projects/sdk.proj @@ -6,6 +6,11 @@ $(BuildCommandArgs) $(FlagParameterPrefix)nodereuse $(ArcadeFalseBoolBuildArg) $(BuildCommandArgs) /p:PackageProjectUrl=https://github.com/dotnet/sdk + $(TargetRid) + osx-$(Platform) + freebsd-$(Platform) + win-$(Platform) + <_platformIndex>$(NETCoreSdkPortableRuntimeIdentifier.LastIndexOf('-')) <_baseOS>$(NETCoreSdkPortableRuntimeIdentifier.Substring(0, $(_platformIndex))) @@ -13,7 +18,7 @@ <_targetPortableArch>$(Platform) <_targetPortableArch Condition="'$(OverrideTargetArch)' != ''">$(OverrideTargetArch) $(BuildCommandArgs) /p:PortableRid=$(_baseOS)-$(_targetPortableArch) - $(BuildCommandArgs) /p:TargetRid=$(TargetRid) + $(BuildCommandArgs) /p:TargetRid=$(OverrideTargetRid) $(BuildCommandArgs) /p:NativeAotSupported=false