title: .NET: dependentAssembly, bindingRedirect has wrong version
body: <p>I am trying to understand that when I added moq via nuget it created an app.config with the following information.</p>
  
  <pre><code>  &lt;dependentAssembly&gt;
      &lt;assemblyIdentity name="Moq" publicKeyToken="69f491c39445e920" culture="neutral" /&gt;
      &lt;bindingRedirect oldVersion="0.0.0.0-4.1.1309.801" newVersion="4.1.1309.801" /&gt;
    &lt;/dependentAssembly&gt;
  </code></pre>
  
  <p>The problem is that now I am getting an error like so</p>
  
  <blockquote>
    <p>Could not load file or assembly 'Moq, Version=4.1.1309.801,
    Culture=neutral, PublicKeyToken=69f491c39445e920' or one of its
    dependencies. The located assembly's manifest definition does not
    match the assembly reference. (Exception from HRESULT: 0x80131040)</p>
  </blockquote>
  
  <p>The reason for this is basically my moq reference actually has this version</p>
  
  <pre><code>        4.1.1309.919
  </code></pre>
  
  <p>So I am confused, is there anyway to fix this ? Of course a quick and dirty way would be to manually edit the app.config file and place the correct version i.e. .919 but I have a lot of them.</p>
  
  <p>Also i don't know why my app.config wasn't updated by nuget when my moq reference obviously was.</p>
  
  <p>I don't suppose something like wildcards are supported in the attribute newVersion ???</p>
  
  <p>I know if i remove the file it causes me other issues as I have a dependency on moq 3.0 so having this file there means it still supports the dependent reference and redirects it to 4.1.</p>
  
  <p>This is what I understand, but I am not 100% sure, anybody help with this ?</p>