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)

Compile inconsistancies

(0) ShareShare
ReportReport
Posted on by 2,574

I am compiling AX 2012 R2 CU7 (Kernel 6.2.1000.9562), from within AX, and finding the compile is missing a lot of best practice errors. If I go to a class and compile just that one class I get best practice warnings, but if I compile the entire system I don't get all the warnings.

Is this a known issue, is there a fix for this?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    ArunGarg Profile Picture
    3,926 on at

    Hi Nigel,

    I have also seen the same issue and may be at the time of full compilation compiler won't check best practice warnings.

    For that issue  please check  when  you are trying to compile all the class then please go to add-in and click on Check Best Practices. So, you will get best practice warnings.

    May be microsoft having fix for this or might they will provide in future.

    Regards

    Arun

  • Suggested answer
    syed baber Profile Picture
    11,633 on at

    Hi Nigel,

    I got the issues in compilation, when i installed a hotfix in AX 2012 R2 system. After full application compile, there was no compile errors, but when I compile the Classes node separately, I could see the compile errors.

    So, I compiled Tables and Classes node separately to get the information of any compile time error.

    I would suggest you to compile the nodes separately in order to make sure no errors gets missed.

    Please let me know if you have further queries.

    Thanks,

    Baber.

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
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans