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
Gopinath.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s