Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

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

Posted on by

Hi,

As i am trying to do Full CIL from AX , it is showing as"

The CIL generator found errors and could not save the new assembly in AX 2012.

i tried the below steps, but no luck

1. Delete files from XPPIL.

2.Delete AUC files from BCProxy account

3. Restart AOS.

4. FULL CIL

but still throwing the same error. Can anyone please help me on this.

*This post is locked for comments

  • Akbarpasha Profile Picture
    Akbarpasha on at
    RE: The CIL generator found errors and could not save the new assembly

    Yes Udhaya, we have tried 2 Full CIL and restarted AOS services, issue got resolved,

    Thanks all for your inputs.

  • udaY-ch Profile Picture
    udaY-ch 4,624 on at
    RE: The CIL generator found errors and could not save the new assembly

    were you able to sort the issue. ?

  • Verified answer
    udaY-ch Profile Picture
    udaY-ch 4,624 on at
    RE: The CIL generator found errors and could not save the new assembly

    Hi Akbar,

    There are come cases where command prompt compilation doesn't give us an actual error. Going with AOT compile,It might take longer hours to complete but it could get you a hint about an error for sure.

    /Uday.

  • Akbarpasha Profile Picture
    Akbarpasha on at
    RE: The CIL generator found errors and could not save the new assembly

    i did command prompt compile

  • udaY-ch Profile Picture
    udaY-ch 4,624 on at
    RE: The CIL generator found errors and could not save the new assembly

    Does the compile happened as AOT compile or kernel compile through command prompt ?

  • Akbarpasha Profile Picture
    Akbarpasha on at
    RE: The CIL generator found errors and could not save the new assembly

    Hi Nikolaos,

    Yes, we did X++ Compile and its error free.

  • Verified answer
    nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: The CIL generator found errors and could not save the new assembly in AX 2012

    You need to do a succesful x++ compile before you can generate CIL. Please check if your x++ compile result is error free.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans