title: Could not load file or assembly 'Microsoft.Xrm.Client
body: <p>I have created a plug-in in <code>CRM.</code> It’s registered successfully. Inside my plug-in I have created a web service with many functions.
  After successful calling of plug-in step I am getting error-</p>
  
  <blockquote>
    <p>System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Xrm.Client, Version=5.0.9689.2166, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies`. The system cannot find the file specified.
    To solve this issue I have created the New XRM.cs file from crmsvcutil.exe but got the same issue. Searched more about this but no solutions found yet.</p>
  </blockquote>
  
  <p><strong>NOTE</strong>: I am using the Microsoft hosted version of CRM</p>
  
  <p>Here below the reference files which I am using.</p>
  
  <ul>
  <li>microsoft.crm.sdk.proxy</li>
  <li>Microsoft.CSharp</li>
  <li><strong>microsoft.xrm.client</strong>   </li>
  <li>microsoft.xrm.portal </li>
  <li><strong>microsoft.xrm.sdk</strong> </li>
  <li>System</li>
  <li>System System.Core </li>
  <li>System.Data   </li>
  <li>System.Data.Services </li>
  <li>System.Data.Services.Client   </li>
  <li>System.DirectoryServices.AccountManagement   </li>
  <li>System.Runtime.Serialization </li>
  <li>System.ServiceModel </li>
  <li>System.Xml   </li>
  <li>System.Xml.Linq</li>
  </ul>
  
  <p>Is there any way to run my plugin on Hosted version of CRM???</p>
  
  <p>Appreciate if any help :)</p>