SysAutoRun.execCompileIL Method [AX 2012]

Compiles all the Microsoft Dynamics AX application X++ code to IL.

Syntax

protected boolean execCompileIL(XmlNode _command)

Run On

Client

Parameters

  • _command
    Type: XmlNode Class
    The XML node to get the value from.

Return Value

Type: boolean
true if the execution is successful; otherwise, false.

Remarks

The execCompileIL method is called if the <CompileIL> tag is used in the configuration file when Microsoft Dynamics AX is started. For more information, see the SysAutoRun class. The execution of this method is controlled by the execCommand method.

The <CompileIL> tag has the following attributes:

  • "incremental" specifies that an incremental compile of IL should be performed.

    The possible values are true and False.

    If incremental is not specified, a full IL compile is performed.

  • "createPackage" specifies that an AXPKG file should be generated from the IL assemblies.

    The possible values are true and false.

    If createPackage is not specified, no package is created.

See Also

Reference

SysAutoRun Class