From 3bfd86b2542567e918175ac389590ace156f0ffd Mon Sep 17 00:00:00 2001 From: Eric Erhardt Date: Mon, 14 Mar 2016 15:08:03 -0500 Subject: [PATCH] Remove crossgenning mscorlib on Unix platforms, since the CoreCLR nuget package now carries the crossgenned mscorlib on non-Windows platforms. --- scripts/dotnet-cli-build/CompileTargets.cs | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/scripts/dotnet-cli-build/CompileTargets.cs b/scripts/dotnet-cli-build/CompileTargets.cs index 517a30ceb..060ead06c 100644 --- a/scripts/dotnet-cli-build/CompileTargets.cs +++ b/scripts/dotnet-cli-build/CompileTargets.cs @@ -335,7 +335,7 @@ namespace Microsoft.DotNet.Cli.Build private static List GetAssembliesToCrossGen() { - var list = new List + return new List { "System.Collections.Immutable.dll", "System.Reflection.Metadata.dll", @@ -345,15 +345,6 @@ namespace Microsoft.DotNet.Cli.Build "csc.dll", "vbc.dll" }; - - // mscorlib is already crossgenned on Windows - if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) - { - // mscorlib has to be crossgenned first - list.Insert(0, "mscorlib.dll"); - } - - return list; } } }