diff --git a/scripts/dotnet-cli-build/CompileTargets.cs b/scripts/dotnet-cli-build/CompileTargets.cs index 1fc300ce0..e7e29c510 100644 --- a/scripts/dotnet-cli-build/CompileTargets.cs +++ b/scripts/dotnet-cli-build/CompileTargets.cs @@ -342,7 +342,7 @@ namespace Microsoft.DotNet.Cli.Build foreach (var assemblyToCrossgen in AssembliesToCrossGen) { c.Info($"Crossgenning {assemblyToCrossgen}"); - ExecInSilent(outputDir, crossgen, "-nologo", "-platform_assemblies_paths", outputDir, assemblyToCrossgen); + ExecInSilent(outputDir, crossgen, "-FragileNonVersionable", "-nologo", "-platform_assemblies_paths", outputDir, assemblyToCrossgen); } c.Info("Crossgen complete"); diff --git a/scripts/run-build.sh b/scripts/run-build.sh index 076abfdb2..c6f8f0961 100755 --- a/scripts/run-build.sh +++ b/scripts/run-build.sh @@ -85,7 +85,7 @@ done < "$DIR/../branchinfo.txt" # Ensure the latest stage0 is installed export CHANNEL=$RELEASE_SUFFIX -$DIR/obtain/install.sh --channel $CHANNEL +$DIR/obtain/install.sh --channel $CHANNEL --version 1.0.0.001665 # Put stage 0 on the PATH (for this shell only) PATH="$DOTNET_INSTALL_DIR/bin:$PATH"