Disable partial crossgen.
This will crossgen all the methods but the size of aseemblies increase.
This commit is contained in:
parent
d6fe71d4dd
commit
59f81484bb
2 changed files with 23 additions and 9 deletions
|
@ -99,7 +99,12 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
"-platform_assemblies_paths", $"{sharedFxPath};{pathToAssemblies};{addtionalPaths}"
|
||||
};
|
||||
|
||||
ExecSilent(_crossGenPath, crossgenArgs);
|
||||
var env = new Dictionary<string, string>()
|
||||
{
|
||||
// disable partial ngen
|
||||
{ "COMPLUS_ZapDisable", "0" }
|
||||
};
|
||||
ExecSilent(_crossGenPath, crossgenArgs, env);
|
||||
|
||||
File.Delete(file);
|
||||
File.Move(tempPathName, file);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue