Skip to main content

Solving the error " The CIL generator found errors and could not save the new assembly"

Step 1: Stop the AOS

Step 2: Delete all of the source in the C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin\XppIL directory

Step 3: Start the AOS
Step 3: Perform a full compile

 Step 4: Perform a full CIL generation

After a FULL CIL compilation I got the following errors:
I just went to the object in question and compiled them separately.

 The outcome would correctly compiled all the artifacts, including my new service group.

Comments