diff --git a/src/SourceBuild/tarball/content/repo-projects/aspnetcore.proj b/src/SourceBuild/tarball/content/repo-projects/aspnetcore.proj
index 8d4047ff8..f20c61b71 100644
--- a/src/SourceBuild/tarball/content/repo-projects/aspnetcore.proj
+++ b/src/SourceBuild/tarball/content/repo-projects/aspnetcore.proj
@@ -2,6 +2,11 @@
+ $(TargetRid)
+ osx-x64
+ freebsd-x64
+ win-x64
+
$(StandardSourceBuildArgs.Replace('--publish', ''))
@@ -9,7 +14,7 @@
$(BuildCommandArgs) --no-build-repo-tasks
$(BuildCommandArgs) --no-build-nodejs
$(BuildCommandArgs) /p:PublishCompressedFilesPathPrefix=$(SourceBuiltAspNetCoreRuntime)
- $(BuildCommandArgs) /p:PortableBuild=false /p:TargetRuntimeIdentifier=$(TargetRid)
+ $(BuildCommandArgs) /p:PortableBuild=false /p:TargetRuntimeIdentifier=$(OverrideTargetRid)
$(BuildCommandArgs) /p:MicrosoftNetFrameworkReferenceAssembliesVersion=1.0.0
diff --git a/src/SourceBuild/tarball/content/repo-projects/installer.proj b/src/SourceBuild/tarball/content/repo-projects/installer.proj
index f6a9e6325..6dc870be9 100644
--- a/src/SourceBuild/tarball/content/repo-projects/installer.proj
+++ b/src/SourceBuild/tarball/content/repo-projects/installer.proj
@@ -8,6 +8,8 @@
$(TargetRid)
osx-x64
+ freebsd-x64
+ win-x64
$(OverrideTargetRid.Substring(0, $(OverrideTargetRid.IndexOf("-"))))
@@ -15,7 +17,6 @@
$(NETCoreSdkPortableRuntimeIdentifier.Substring(0, $(_platformIndex)))
--runtime-id $(OverrideTargetRid)
- --runtime-id $(TargetRid)
$(StandardSourceBuildArgs)
$(BuildCommandArgs) $(RuntimeArg)
@@ -27,14 +28,13 @@
$(BuildCommandArgs) /p:NETCoreAppMaximumVersion=99.9
$(BuildCommandArgs) /p:OSName=$(OSNameOverride)
$(BuildCommandArgs) /p:PortableOSName=$(PortableOS)
- $(BuildCommandArgs) /p:Rid=$(TargetRid)
+ $(BuildCommandArgs) /p:Rid=$(OverrideTargetRid)
$(BuildCommandArgs) /p:DOTNET_INSTALL_DIR=$(DotNetCliToolDir)
- $(BuildCommandArgs) /p:AspNetCoreInstallerRid=$(TargetRid)
+ $(BuildCommandArgs) /p:AspNetCoreInstallerRid=$(OverrideTargetRid)
- $(BuildCommandArgs) /p:CoreSetupRid=freebsd-x64 /p:PortableBuild=true
- $(BuildCommandArgs) /p:CoreSetupRid=osx-x64
- $(BuildCommandArgs) /p:CoreSetupRid=$(TargetRid)
+ $(BuildCommandArgs) /p:PortableBuild=true
+ $(BuildCommandArgs) /p:CoreSetupRid=$(OverrideTargetRid)
$(BuildCommandArgs) /p:PublicBaseURL=file:%2F%2F$(SourceBuiltAssetsDir)