Saturday, 18 July 2015

The type or namespace 'Xrm' does not exist in the namespace 'Microsoft'(are you missing an assembly reference?) Error in CRM 2015

I was getting the below error while building a Plugin Project. I was really shocked and checked the references which has Micrsoft.XRM.SDK.dll 7.0 version referenced.

Reason for it is CRM 2015 SDK was built on .Net 4.5.2 Framework and the Visual studio does not support 4.5.2.

  • Just download .Net Framework 4.5.2 from here
  • Goto Project Properties and change the framework. 

Hope this helps.

Happy CRM'ing

No comments:

Post a Comment