Merge pull request #1954 from mellinoe/crossgen-enabled
Crossgen by default, add additional dependency to shared framework
This commit is contained in:
commit
55ca13eee7
2 changed files with 4 additions and 3 deletions
|
@ -477,9 +477,9 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
public static BuildTargetResult CrossgenSharedFx(BuildTargetContext c, string pathToAssemblies)
|
||||
{
|
||||
// Check if we need to skip crossgen
|
||||
if (!string.Equals(Environment.GetEnvironmentVariable("CROSSGEN_SHAREDFRAMEWORK"), "1"))
|
||||
if (string.Equals(Environment.GetEnvironmentVariable("DONT_CROSSGEN_SHAREDFRAMEWORK"), "1"))
|
||||
{
|
||||
c.Warn("Skipping crossgen for SharedFx because CROSSGEN_SHAREDFRAMEWORK is not set to 1");
|
||||
c.Warn("Skipping crossgen for SharedFx because DONT_CROSSGEN_SHAREDFRAMEWORK is set to 1");
|
||||
return c.Success();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue