Module ‘xxxxx’ has invalid reference to module ‘xxx’ that can cause circular dependencies in D365FO
As a Dynamics 365 Finance and Operation developer, you might come accros the following error.
Module ‘xxxxx’ has invalid reference to module ‘xxx’ that can cause circular dependencies. This is an indication that the model store is in a broken state.
Well, you do not have to panic. Patience is a virtue for all developers :D.
Before we look at how to resolve this, let’s take a look at the cause of this error.
Being a partner, you would often be moving objects from one environment to another. This moves models along side. This error therefore occurs when the receiving VM is missing a reference model. While creating a new model in D365FO a descriptor file is generated with the reference model.
To resolve this issue. We will locate this descriptor file and edit it.
Simply remove the line, save and refresh model from Visual studio.