Circular References
Circular dependencies occur when you have two models that both reference objects defined in each other. The system will not allow you to add a reference to a Package/Model that already has a reference to current Model.
As a Dynamics 365 FO developer, you might come across the following error.
Module ‘xxxx’ has invalid reference to module ‘xxx’ that can cause circular dependencies. This is an indication that the model store is in a broken state.
As a developer we would often be moving objects from one environment to another. This moves models alongside. 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.
Remove the line, save and refresh model from Visual studio.
No comments:
Post a Comment