title: Azure: Could not load file or assembly 'Microsoft.ServiceBus
body: <p>I have a app fabric service that I want to test.  (<a href="http://xxx.cloudapp.net:8081/service.svc" rel="noreferrer">http://xxx.cloudapp.net:8081/service.svc</a>).<br>
  I created a console app and added a service reference to the service and got the following error:</p>
  
  <blockquote>
    <p>Could not load file or assembly
    'Microsoft.ServiceBus,
    Version=1.0.0.0, Culture=neutral,
    PublicKeyToken=31bf3856ad364e35' or
    one of its dependencies. The system
    cannot find the file specified.</p>
  </blockquote>
  
  <p>I added a reference to Microsoft.ServiceBus from C:\Program Files (x86)\Windows Azure platform AppFabric SDK\V1.0\Assemblies\NET4.0</p>
  
  <p>I set all assemblies in my project to Copy Local = True, as suggested here:
  <a href="http://msdn.microsoft.com/en-us/library/ee706702.aspx" rel="noreferrer">http://msdn.microsoft.com/en-us/library/ee706702.aspx</a></p>
  
  <p>Additional Due diligence:
  I opened Microsoft.ServiceBus in red-gate's reflector and confirmed that it is the correct version.  Just for kicks, I also added references to each assembly referenced in reflector and set all references to copy local = true.</p>
  
  <p>Any other ideas?</p>
  
  <p>…Peter</p>