torsdag den 7. november 2013

Finding the cause of an incremental CIL-build error

I learned something new from one of my colleagues today, which is always nice.

I have often been irritated by the Dynamics AX 2012 CIL-builds ability to be uninformative.
The incremental CIL-build does not always tell you why it is unable to finish an incremental build, and up until today my procedure for fixing problems to be able to cil-build incrementally has been to run a complete x++ compile, which takes quite a long time.

You can examine the cause(s) of the CIL-build failure by doing the following:

1) Login on the AOS-server.
2) Find the AOS server folder
3) Go to the folder of the instance where you experienced CIL-build problems.
4) Goto folder Bin\XppIL
5) Find the file Dynamics.Ax:Application.dll.log (an example of a full path for the file could be C:\Program Files\Microsoft Dynamics AX\60\Server\DEV_AX2012\bin\XppIL\Dynamics.Ax:Application.dll.log)

In this file you can see the compile-errors which caused the incremental CIL-build to fail.

Thank God for technical sparring. :-)

Ingen kommentarer:

Send en kommentar