A reference to 'Dynamics.AX.XXXXX, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' is required to compile this module.
The error "A reference to 'Dynamics.AX.Directory, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' is required to compile this module." came on when i was building the project in visual studio.
After selecting the packages click on "Next". And Click on "Finish".
This error is thrown when the model is missing any reference which are needed to build the project.
To update rectify this error we need to update the model.
To do that go to "Dynamics 365 > Model Management > Update model parameter"
A new window will open the model you want to update. Here i am selecting "Development" which i have created. Then click on next.
On "Select referenced packages" select the missing packages which ones is throwing error.
Here i have selected the "Directory" packages as they are the once throwing error.
Select the packages.
After selecting the packages click on "Next". And Click on "Finish".
Rebuild the project and you are good to go.
Happy daxing!!!
Comments
Post a Comment