To compile X++ code,
open the code in the Code editor and press F7, or press the Compile icon.
If you are using the
Version Control system for Microsoft Dynamics AX, the X++ compiler is also
activated when you check an object in.
The compiler output
window is described in the online Help. For the Help topic about the compiler
output window, see Compiler Output
Form. Or for information about theSysCompilerOutput class, you can use the Application Object Tree (AOT).
Highlight the node Classes > SysCompilerOutput,
and then press F1. This starts a web browser that opens to a Help topic for the
class.
You can change the
appearance and content of the compiler output window by using the compiler
setup form that is available by clicking the menu Tools > Options > Development >Compiler.
This starts the Compiler setup form. You can use the Compiler
setup form to change the warning levels that are reported to the
compiler output window, or to choose whether cross-reference is updated during
each compile.