AX Full compilation using management shell

Hi All,

Anyone knows how to perform Full AX compilation through management shell? I found command strings in some blogs but I don’t see the correct syntax for the compilation. Thank you in advance and best regards.

The management shell itself doesn’t contain anything for compilation. But you have a few other options:

  • Use Compile-AXXpp from my DynamicAxCommunity PowerShell module (available on CodePlex as a part of Dynamics AX Build Scripts). It internally uses both options mentioned below.
  • You can call ax32.exe with -StartupCmd=CompileAll.
  • In AX 2012 R2 CU7 and later, you can invoke axbuild.exe.