From 3c5e51adb24ab2d742009557223e418fdbb6bc7f Mon Sep 17 00:00:00 2001 From: Eric Erhardt Date: Sat, 11 Jun 2016 12:36:00 -0500 Subject: [PATCH] System.Private.CoreLib.dll IL binary is getting crossgen'd mistakenly. This causes both the IL ".dll" and the native image "ni.dll" to be the same size in the Shared Framework. This is incorrect, as the IL binary is much smaller. The fix is to add ".dll" to the excludedLibraries list in the Crossgen util. Fix #3522 --- build_projects/shared-build-targets-utils/Utils/Crossgen.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_projects/shared-build-targets-utils/Utils/Crossgen.cs b/build_projects/shared-build-targets-utils/Utils/Crossgen.cs index 1d30acb37..b60207e7c 100644 --- a/build_projects/shared-build-targets-utils/Utils/Crossgen.cs +++ b/build_projects/shared-build-targets-utils/Utils/Crossgen.cs @@ -17,7 +17,7 @@ namespace Microsoft.DotNet.Cli.Build { "mscorlib.dll", "mscorlib.ni.dll", - "System.Private.CoreLib", + "System.Private.CoreLib.dll", "System.Private.CoreLib.ni.dll" };