diff --git a/dir.props b/dir.props
index 9f6f8e636e..78bfe5c2a1 100644
--- a/dir.props
+++ b/dir.props
@@ -83,11 +83,6 @@
-
-
- true
-
-
diff --git a/repos/cli.proj b/repos/cli.proj
index 705c66d5cd..4a754caa3b 100644
--- a/repos/cli.proj
+++ b/repos/cli.proj
@@ -2,7 +2,15 @@
- --runtime-id $(TargetRid)
+
+ $(PortableBuild)
+ false
+ $(TargetRid)
+ osx-x64
+
+ --runtime-id $(OverrideTargetRid)
+
--stage0 $(DotNetCliToolDir) $(RuntimeArg)
+ $(PortableBuild)
+ $(TargetRid)
+ true
+ osx-x64
+
+ -ConfigurationGroup=$(Configuration) -PortableBuild=$(OverridePortableBuild) -SkipTests=true
$(BuildArguments) -TargetArchitecture=$(Platform) -DisableCrossgen=true -CrossBuild=true
- $(ProjectDirectory)/build$(ShellExtension) $(BuildArguments) -- /p:BuildDebPackage=false /p:BuildAllPackages=true /bl
+ $(ProjectDirectory)/build$(ShellExtension) $(BuildArguments) -- /p:BuildDebPackage=false /p:BuildAllPackages=true /p:OutputRid=$(OverrideTargetRid) /bl
$(ArmEnvironmentVariables) $(BuildCommand)
20180814-02
diff --git a/repos/coreclr.proj b/repos/coreclr.proj
index 78979ca750..e6fa46fe13 100644
--- a/repos/coreclr.proj
+++ b/repos/coreclr.proj
@@ -2,7 +2,11 @@
- $(Platform) $(Configuration) skiptests -PortableBuild=$(PortableBuild)
+
+ $(PortableBuild)
+ true
+
+ $(Platform) $(Configuration) skiptests -PortableBuild=$(OverridePortableBuild)
$(BuildArguments) -nopgooptimize
$(BuildArguments) msbuildonunsupportedplatform
$(BuildArguments) cmakeargs -DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=TRUE
diff --git a/repos/corefx.proj b/repos/corefx.proj
index c3cc32470f..b776499d0b 100644
--- a/repos/corefx.proj
+++ b/repos/corefx.proj
@@ -2,7 +2,13 @@
- -$(Configuration) -buildArch=$(Platform) -portable=$(PortableBuild) -BuildTests=false
+
+ $(PortableBuild)
+ true
+ $(TargetRid)
+ osx-x64
+
+ -$(Configuration) -buildArch=$(Platform) -portable=$(OverridePortableBuild) -BuildTests=false -PackageRid=$(OverrideTargetRid)
$(ProjectDirectory)/build$(ShellExtension) $(BuildArguments) -- /p:ILLinkTrimAssembly=false /bl
$(ArmEnvironmentVariables) $(BuildCommand)
$(ProjectDirectory)/bin/packages/$(Configuration)
diff --git a/repos/dir.props b/repos/dir.props
index bea8d507cd..8493a27a34 100644
--- a/repos/dir.props
+++ b/repos/dir.props
@@ -42,7 +42,6 @@
-
diff --git a/repos/roslyn.proj b/repos/roslyn.proj
index 8867b0cca0..93424a1900 100644
--- a/repos/roslyn.proj
+++ b/repos/roslyn.proj
@@ -13,7 +13,6 @@
-
diff --git a/tools-local/init-build.proj b/tools-local/init-build.proj
index 7f390c42a2..f0125f348c 100644
--- a/tools-local/init-build.proj
+++ b/tools-local/init-build.proj
@@ -75,6 +75,12 @@
+
+ osx-$(Platform)
+ linux-$(Platform)
+ win-$(Platform)
+
+
<Project ToolsVersion="15.0">
<PropertyGroup>