NGenTask Class

Summary

Pre-translates native code for an assembly containing IL (Intermediary Language bytecode) on the Windows platform.
Assembly
NAnt.Contrib.dll
Namespace
NAnt.Contrib.Tasks
Base Types
  • ExternalProgramBase
graph BT Type-->Base0["ExternalProgramBase"] Type["NGenTask"] class Type type-node

Syntax

[TaskName("ngen")]
[ProgramLocation(LocationType.FrameworkDir)]
public class NGenTask : ExternalProgramBase

Examples

<ngen assembly="MyAssembly.dll" />

Attributes

Type Description
TaskName
ProgramLocation

Properties

Name Value Summary
Assembly string
Assembly path or display name.
Debug bool
If an image should be generated which can be used under a debugger.
DebugOptimized bool
If an image should be generated which can be used under a debugger in optimized debugging mode.
Delete bool
If existing images should be deleted.
Profiled bool
If an image should be generated which can be used under a profiler.
ProgramArguments string
Arguments of program to execute
Show bool
If existing images should be shown.

Methods

Name Value Summary
ExecuteTask() void