From 1fd72c201b6837ccaf52188bb4b38bdb3792bf70 Mon Sep 17 00:00:00 2001 From: Piotr Puszkiewicz Date: Tue, 22 Mar 2016 00:26:26 -0700 Subject: [PATCH] Enable ReadyToRun for Roslyn --- scripts/dotnet-cli-build/CompileTargets.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dotnet-cli-build/CompileTargets.cs b/scripts/dotnet-cli-build/CompileTargets.cs index 266c3871d..b54da094f 100644 --- a/scripts/dotnet-cli-build/CompileTargets.cs +++ b/scripts/dotnet-cli-build/CompileTargets.cs @@ -455,7 +455,7 @@ namespace Microsoft.DotNet.Cli.Build foreach (var assemblyToCrossgen in AssembliesToCrossGen) { c.Info($"Crossgenning {assemblyToCrossgen}"); - ExecInSilent(outputDir, crossgen, "-FragileNonVersionable", "-nologo", "-platform_assemblies_paths", outputDir, assemblyToCrossgen); + ExecInSilent(outputDir, crossgen, "-readytorun", "-nologo", "-platform_assemblies_paths", outputDir, assemblyToCrossgen); } c.Info("Crossgen complete");