Microsoft Native Image Generator (NGen) – installing updates for the Microsoft .NET Framework 4 can take longer than expected in some scenarios

Forcing NGen.exe – to generate new Native Images without regard for what was previously generated
C:\Windows\Microsoft.NET\Framework\v4.0.30319\ngen.exe update /force /queue

C:\Windows\Microsoft.NET\Framework\v4.0.30319\NGen.log

09/30/2019 11:30:56.983 [6364]: NGen Task starting, command line: „C:\Windows\Microsoft.NET\Framework\v4.0.30319\NGenTask.exe“ /RuntimeWide /StopEvent:976
09/30/2019 11:30:57.029 [6364]: Attempting to acquire task lock.
09/30/2019 11:30:57.029 [6364]: Acquired task lock.
09/30/2019 11:30:57.061 [3068]: Command line: C:\Windows\Microsoft.NET\Framework\v4.0.30319\ngen.exe RemoveTaskDelayStartTrigger /LegacyServiceBehavior
09/30/2019 11:30:57.076 [3068]: ngen returning 0x00000000
09/30/2019 11:30:57.076 [6364]: Executing normal maintenance tasks
09/30/2019 11:30:57.154 [8032]: Command line: C:\Windows\Microsoft.NET\Framework\v4.0.30319\ngen.exe ExecuteQueuedItems /LegacyServiceBehavior
09/30/2019 11:30:57.248 [8032]: All compilation targets are up to date.
09/30/2019 11:30:57.248 [8032]: ngen returning 0x00000000
09/30/2019 11:30:58.233 [7088]: NGen Task starting, command line: „C:\Windows\Microsoft.NET\Framework\v4.0.30319\NGenTask.exe“ /RuntimeWide /StopEvent:1000
09/30/2019 11:30:58.248 [7088]: Attempting to acquire task lock.
09/30/2019 11:30:58.248 [7088]: Acquired task lock.
09/30/2019 11:30:58.295 [7392]: Command line: C:\Windows\Microsoft.NET\Framework\v4.0.30319\ngen.exe RemoveTaskDelayStartTrigger /LegacyServiceBehavior
09/30/2019 11:30:58.311 [7392]: ngen returning 0x00000000
09/30/2019 11:30:58.311 [7088]: Executing normal maintenance tasks
09/30/2019 11:30:58.342 [4596]: Command line: C:\Windows\Microsoft.NET\Framework\v4.0.30319\ngen.exe ExecuteQueuedItems /LegacyServiceBehavior
09/30/2019 11:30:58.483 [4596]: All compilation targets are up to date.
09/30/2019 11:30:58.483 [4596]: ngen returning 0x00000000

Leave a Reply

You must be logged in to post a comment.