Tuesday, January 20, 2015

Fast full compilation in AX 2012

This is just a short batch that runs a full compilation by means of AxBuild with after-run cleaning in AX 2012.

cd "C:\Program Files\Microsoft Dynamics AX\60\Server\CGI_DAX62_DEVTM2_AOS1\bin"
axbuild xppcompileall  /s=01 /altbin="C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin"
@echo to start compilation log import press any key
cd "C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin"
ax32.exe -startupCmd=importandcompileaxbuildlog_C:\Program*Files\Microsoft*Dynamics*AX\60\Server\CGI_DAX62_DEVTM2_AOS1\Log

Do not forget to run it as administrator.

The cleaning requires a project installed as described in the second hyper link.


Palle Agermark said...

I'm curious as to why you stick with the cleanup job?

I thought that these compilation issues were solved by just making sure the AOS is stopped.

Skill Quotient said...

This blogs is very useful Dynamics AX Online Training|Microsoft Dynamics AX Training|Sharepoint Online Training

kbs training institute said...

great blog thanks for given information Microsoft dynamics ax training

Best Online Courses said...

My perception is straight forward to your blog. I got an awesome idea which you have elaborated in your blog deeply. Think so it will work out....Micrsoft Dynamics Ax All MOdules Online Training