Just a quick one to bring your attention to something what you may have missed.

Microsoft released a command-line tool for Dynamics AX R2 CU 7 called AxBuild. It’s capable of compiling X++ code directly on AOS and doing it in several threads in the same some time, which has a huge effect on performance. Microsoft even achieved 92% (!) improvement in compilation time (in a carefully built environment).

One more advantage is that it’ll be easier to get response from a running compilation (that’s a trouble particularly with compilations executed by automated scripts). Unfortunately AxBuild doesn’t cover compilation to CIL, but hopefully we’ll get that too, at some point.

I haven’t had a chance yet to play with it, but Tommy Skaue did, so check out his blog post You got to love AXBuild Compiler Tool.


  1. Thank you for the mention, Martin. 🙂
    This really is a game changer, and as developer (or technical consultant) I would need a pretty good reason not to upgrade kernel components to CU7. If I had a dime for every time I had to run a full compile and this would stall the progress with 3-5 hours keep everyone waiting. Now I can compile it all in 15 minutes. 🙂

    • I’m also excited about this. It was definitely a problem that needed a solution.

Comments are closed.