Open Source .NET Development [Electronic resources]

Brian Nantz

نسخه متنی -صفحه : 275/ 197
نمايش فراداده

<ngen>

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

Attribute

Description

Required

assembly

Assembly path or display name.

True

show

If existing images should be shown.

False

delete

If existing images should be deleted.

False

debug

If an image should be generated that can be used under a debugger.

False

debugoptimized

If an image should be generated that can be used under a debugger in optimized debugging mode.

False

profiled

If an image should be generated that can be used under a profiler.

False

nologo

Suppresses the banner.

False

failonerror

Determines whether task failure stops the build or is just reported. Default is "true."

False

verbose

Task reports detailed build log messages. Default is "false."

False

if

If true then the task will be executed; otherwise skipped. Default is "true."

False

unless

Opposite of if. If false then the task will be executed; otherwise skipped. Default is "false."

False

Example

<ngen assembly="MyAssembly.dll" />