diff --git a/eng/SourceBuild.props b/eng/SourceBuild.props
index a2831d574559..9ebca97ff908 100644
--- a/eng/SourceBuild.props
+++ b/eng/SourceBuild.props
@@ -11,6 +11,7 @@
$(InnerBuildArgs) /p:IncludeNuGetPackageArchive=false
$(InnerBuildArgs) /p:IncludeAdditionalSharedFrameworks=false
$(InnerBuildArgs) /p:IncludeSharedFrameworksForBackwardsCompatibilityTests=false
+ $(InnerBuildArgs) /p:DISABLE_CROSSGEN=true
diff --git a/src/SourceBuild/tarball/content/Directory.Build.props b/src/SourceBuild/tarball/content/Directory.Build.props
index 3ffe8c56ac59..a0feed9d1e2a 100644
--- a/src/SourceBuild/tarball/content/Directory.Build.props
+++ b/src/SourceBuild/tarball/content/Directory.Build.props
@@ -24,6 +24,11 @@
false
+ false
+
+ true
+ true
+
diff --git a/src/SourceBuild/tarball/content/build.sh b/src/SourceBuild/tarball/content/build.sh
index e899d2f808c0..25d5e1d22a60 100755
--- a/src/SourceBuild/tarball/content/build.sh
+++ b/src/SourceBuild/tarball/content/build.sh
@@ -9,6 +9,7 @@ usage() {
echo " --online build using online sources"
echo " --poison build with poisoning checks"
echo " --run-smoke-test don't build; run smoke tests"
+ echo " --use-mono-runtime output uses the mono runtime"
echo " --with-packages
use the specified directory of previously-built packages"
echo " --with-sdk use the SDK in the specified directory for bootstrapping"
echo "use -- to send the remaining arguments to MSBuild"
@@ -45,6 +46,9 @@ while :; do
runningSmokeTests=true
MSBUILD_ARGUMENTS+=( "/t:RunSmokeTest" )
;;
+ --use-mono-runtime)
+ MSBUILD_ARGUMENTS+=( "/p:SourceBuildUseMonoRuntime=true" )
+ ;;
--with-packages)
CUSTOM_PACKAGES_DIR="$(cd -P "$2" && pwd)"
if [ ! -d "$CUSTOM_PACKAGES_DIR" ]; then
diff --git a/src/SourceBuild/tarball/content/repos/Directory.Build.props b/src/SourceBuild/tarball/content/repos/Directory.Build.props
index e4e3060af7f8..04ab89d11dc9 100644
--- a/src/SourceBuild/tarball/content/repos/Directory.Build.props
+++ b/src/SourceBuild/tarball/content/repos/Directory.Build.props
@@ -143,6 +143,7 @@
$(StandardSourceBuildArgs) /p:AdditionalSourceBuiltNupkgCacheDir="$(SourceBuiltPackagesPath)"
$(StandardSourceBuildArgs) /p:ReferencePackageNupkgCacheDir="$(ReferencePackagesDir)"
$(StandardSourceBuildArgs) /p:PreviouslySourceBuiltNupkgCacheDir="$(PrebuiltSourceBuiltPackagesPath)"
+ $(StandardSourceBuildArgs) /p:SourceBuildUseMonoRuntime=$(SourceBuildUseMonoRuntime)
$(ProjectDirectory)\build$(ShellExtension)