- The metadata cache needs to be refreshed. For more information see here.
- The references to the intellisense files are in the wrong order. The form specific file must be above the Xrm.js or Xrm.d.ts file.
- Some issues have been found when using the 'Resharper' addin. Please disable the addin to see if this is your issue.