Wednesday, November 18, 2015

AX 2012 :AxBuild Compilation

AX 2012 Command prompt compilation / AxBuild.exe for Parallel Compile on AOS of X++ to p-code


  • Open CMD with admin Privileges
  • Find out where AX is installed (in My case its C drive)
  • cd to this path : C:\Program Files\Microsoft Dynamics AX\60\Server\(yourServer)\bin
  • check whether AXbuild.exe is present
  • type the below command to CMD (Dont forget to change path if needed)
  • C:\Program Files\Microsoft Dynamics AX\60\Server\(your Server)\bin>
    AxBuild.exe xppcompileall /workers=4 /s=01 /nocleanup /altbin="C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin"
  • /workers=4  : compilation will schedule into 4 seperate process means 4 CMD will be open
  • /s=01            : How many AX instances you have (I have only 1)
  • add at the end of the above command /log:"C:\temp" if you want create log file after compilation(Optional)
  • Press Enter

No comments:

Post a Comment

Table browser URL in D365FO

Critical Thinking icon icon by Icons8