<ngen>

Pre-translates native code for an assembly containing IL (Intermediary Language bytecode) on the Windows platform.

Parameters

Attribute Type Description Required
assembly string Assembly path or display name. True
debug bool If an image should be generated which can be used under a debugger. False
debugoptimized bool If an image should be generated which can be used under a debugger in optimized debugging mode. False
delete bool If existing images should be deleted. False
nologo bool Suppresses the banner. False
profiled bool If an image should be generated which can be used under a profiler. False
show bool If existing images should be shown. False
silent bool Prevents NGen from displaying success message. False
failonerror bool False
if bool False
timeout int False
unless bool False
verbose bool False

Framework-configurable parameters

Attribute Type Description Required
exename string False
useruntimeengine bool False

Nested Elements:

<arg>

</arg>

Examples

<ngen assembly="MyAssembly.dll" />