Code Compiler
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. Press F1 while the compiler output window is open, or open the SysCompilerOutput help topic from the Application documentation/Forms in the Application Object Tree (AOT).
You can change the appearance and content of the compiler output window by using the compiler setup form that is available by clicking Compiler on the General tab of Tools > Options. For example, you can change the number of warnings that are reported and choose whether to update cross-references during compilation. For more information, press F1 when you have the compiler setup form open.