web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :

Error “A reference to ‘xyz ‘ is required to compile this module” solution

Community Member Profile Picture Community Member

Many of the time while building project/solution we came across the “reference is required to compile this module error”. The reason behind this error is that your module’s reference package is missing the required package.

In error itself, the missing module can be rectified as shown for example in following screenshot reference to “SourceDocumentationTypes” is not made.

Now you have to add a missing reference to your module as follows:

  1. Select Update model Parameters from Dynamics 365 >>Model Management>>Update model Parameter
  2. Now select the required model name from the model list and click on Next.
  3. Now make sure to select the checkbox in front of a required reference from reference packages (In our case SourceDocumentationTypes reference was not there ) and click on next.

  4. Now click on finish.
     Now after attaching a reference to the package build package/Solution and you have solved your error.

The post Error “A reference to ‘xyz ‘ is required to compile this module” solution appeared first on .


This was originally posted here.

Comments

*This post is locked for comments