evidenceDetails.descriptor cannot be resolved or is not a field

Symptom:
Compilation error in generated code: evidenceDetails.descriptor cannot be resolved or is not a field
Cause:
This error is also a result of the "descriptor" association between the <EvidenceEntity>Details struct and the EvidenceDescriptorDetails struct missing and should be dealt with in the same manner.
Solution:
Create an association as described between the two structs. See Asset Entity and Aggregations for more details.