Disable partial NGEN.
This commit is contained in:
parent
43a0d8dd4a
commit
e87acd73ac
1 changed files with 7 additions and 0 deletions
|
@ -13,6 +13,13 @@ namespace Microsoft.DotNet.Build.Tasks
|
|||
{
|
||||
public sealed class Crossgen : ToolTask
|
||||
{
|
||||
public Crossgen()
|
||||
{
|
||||
// Disable partial NGEN to avoid excess JIT-compilation.
|
||||
// The intention is to pre-compile as much as possible.
|
||||
EnvironmentVariables = new string[] { "COMPlus_PartialNGen=0" };
|
||||
}
|
||||
|
||||
[Required]
|
||||
public string SourceAssembly { get;set; }
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue