Posts

Showing posts with the label Command prompt compilation

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

Image
Hello AX Technical, In this article, we will talk about parallel compilation with benefit of performance gain. Here, we need to understand that when we do parallel compilation it will take less time than compiling on the client. How to do parallel compilation: 1) Open cmd/command prompt and run as administrator. 2) Copy and paste, cd C:\Program Files\Microsoft Dynamics AX\60\Server\AX2012R2_MPG_LIVE\bin and press enter. Note: cd* = Change drive for the directory where AX server is installed. AX2012R2_MPG_LIVE is my AX server installed directory name, you can choose yours. 3) Now, copy and paste this, axbuild.exe xppcompileall /s=01 /altbin="C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin" Note: Here, s=01 means server instance one, you can have multiple instance for your AX server. You can check this in Microsoft Dynamics AX 2012 Server Configuration tool, it looks like below: 4) Press enter when you want to do compilation. Note : Suppose, y...