title: Autofixture and Moq v4
body: <p>I installed Autofixture and Moq using Nuget.So I have moq version 4.</p>
  
  <p>When running the following code </p>
  
  <pre><code>var fixture = new Fixture().Customize(new AutoMoqCustomization());
  fixture.CreateAnonymous&lt;ISomething&gt;();
  </code></pre>
  
  <p>the following error shows up</p>
  
  <blockquote>
    <p>System.IO.FileLoadException : Could
    not load file or assembly 'Moq,
    Version=3.1.416.3, Culture=neutral,
    PublicKeyToken=69f491c39445e920'</p>
  </blockquote>
  
  <p>I've also tried redirected it to the v4,but with no luck.</p>
  
  <pre><code>&lt;configuration&gt;
    &lt;runtime&gt;
      &lt;assemblyBinding&gt;
      &lt;dependentAssembly&gt;
        &lt;assemblyIdentity name="Moq" publicKeyToken="69f491c39445e920" culture="neutral"/&gt;
        &lt;bindingRedirect oldVersion="3.1.416.3" newVersion="4.0.10827.0"/&gt;
      &lt;/dependentAssembly&gt;
      &lt;/assemblyBinding&gt;
    &lt;/runtime&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>What could be the problem here ?</p>