From ce118f9d079557b1e2ffab6a42362a0752e7612d Mon Sep 17 00:00:00 2001 From: Eric Mellino Date: Thu, 10 Mar 2016 15:20:29 -0800 Subject: [PATCH] Add warning if shared framework is not going to be crossgen'd because mscorlib.ni.dll does not exist --- scripts/dotnet-cli-build/SharedFrameworkTargets.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/dotnet-cli-build/SharedFrameworkTargets.cs b/scripts/dotnet-cli-build/SharedFrameworkTargets.cs index e3b1d316f..e2bbd53f9 100644 --- a/scripts/dotnet-cli-build/SharedFrameworkTargets.cs +++ b/scripts/dotnet-cli-build/SharedFrameworkTargets.cs @@ -60,6 +60,10 @@ namespace Microsoft.DotNet.Cli.Build CrossGenAllManagedAssemblies(SharedFrameworkNameAndVersionRoot); } + else + { + c.Warn("Shared framework will not be crossgen'd because mscorlib.ni.dll does not exist."); + } return c.Success(); }