web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

AX 2012 CIL - Why ?

(0) ShareShare
ReportReport
Posted on by

Hi,

Compile CIL is something new in 2012 and I was wondering what are the pros of having it in Dynamics AX 2012. Does it bring new functionality to developers ?

My understanding is that a CIL file is a piece of code compiled that resides on the AOS. Does it improve the performance ?

Thank you

*This post is locked for comments

I have the same question (0)
  • Verified answer
    André Arnaud de Calavon Profile Picture
    301,020 Super User 2025 Season 2 on at

    Hi Matt,

    The CIL compilation is .net code. This will run faster than running x++ compiled code. It needs some caching, but after this the performance is usually better.

  • Community Member Profile Picture
    on at

    Hi Andre,

    The only reason is performance ?

    Can you do development in .net that you cannot in X++

    Thanks

  • Verified answer
    Dauvis Profile Picture
    170 on at

    Yes, as Andre said, it is for performance.

    I would like to point out that having CIL is part of the transition to bring AX in line with other Microsoft technologies.

  • Suggested answer
    PA-22040759-0 Profile Picture
    6,194 on at

    The CIL compilation it self doesn't make it possible to do anything you couldn't do with before. The CIL compilation is simply about compilling your X++ code to .NET code.

    You shouldn't confuse this with .NET Interop from X++.

    One of the main performance gains you get, is that AX gets to use the much more effective  .NET garbage collector rather than AX's own.

    In the next version of AX, '7' or 'Rainier', all code will be compiled and executed as .NET code.

  • Community Member Profile Picture
    on at

    Thanks guys !

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Ali Zaidi Profile Picture

Ali Zaidi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans