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)

Model References and Slow Build Issue

(0) ShareShare
ReportReport
Posted on by 1,402

I am developing Sales Order Report using extension methodology and RDP class. I am using SalesTable and SalesLine. When I build it, it asked me to add reference. I added. It has again asked me to add another reference. I added.
Then it started giving error like this: A reference to 'Dynamics.AX.Retail, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' is required to compile this module.

I added Retail and other modules (Source Documentation, Sales Contact etc. etc.) as reference it asked me in error like above.
On every build it takes a long time, kindly guide me. I am new at Microsoft Dynamics 365 FO.

Regards,
Moeen Ahmed Sultan

*This post is locked for comments

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

    Hi Moeen,

    The application is divided into several models, like you found out. It needs to have a reference to all models which is used in your customization. If not, you will indeed get this error until all models are referenced.

    When it is really an extension, instead of a customization model, and you have only one report (multiple related objects) in it, the compilation time should not be that much. Before you start a build, you can try to end the xppcAgent service from the Task manager to see if this would lead to a better performance.

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