Full CIL Generation from X++
This post describes one of the many strange errors which might occur if the CIL Generation was not done properly. If you want to know more about CIL generation . Go here: X++ compiled to .Net CIL[Ax2012] In Microsoft Dynamics AX, scheduled batch jobs written in X++ must first be compiled into the common intermediate language (CIL) of the .NET Framework. I faced this one issue when I was trying to do a Full CIL Generation after fixing an Over-layering issue (which occurred due to some project related update installation) . Error message was “Type name does not exist. The VendRequestAuditContract.getAttribute() reflection API could not create and return the AifCollectionTypeAttribute object. Please check the parameters.” Before looking into more details, I followed the below best practises suggested when working with CIL generation. 1. Stop AOS. 2. Delete all files from path C:\Program Files\Microsoft Dynamic...