title: Could not load file or assembly 'EntityFramework' error
body: <blockquote>
    <p>Could not load file or assembly 'EntityFramework, Version=4.3.1.0,
    Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its
    dependencies. The located assembly's manifest definition does not
    match the assembly reference. (Exception from HRESULT: 0x80131040)</p>
  </blockquote>
  
  <p>I only get this error when I add this code into my project:</p>
  
  <pre><code>private IUserRepository repository;
  
          public SearchController(IUserRepository repo)
          {
              repository = repo;
          }
  </code></pre>
  
  <p>I suppose that makes sense as I'm using EntityFramework for this. I'm just now sure how to fix this bug.</p>
  
  <p>I've looked at this link: <a href="http://msdn.microsoft.com/en-us/library/e74a18c4.aspx" rel="noreferrer">http://msdn.microsoft.com/en-us/library/e74a18c4.aspx</a>
  Though I'm not sure how to use this program? (It's always blank).</p>
  
  <p>I think that this bug may have something to do with the fact that my database is hosted by dotnet-host.com and that there's some local references that break when it interacts with the database online.</p>