title: Warning CS1702 when using Microsoft Identity and building solution
body: <p>I've looked around for solutions to this bug but have not found one, even on SO. The warning I get is this:</p>
  <pre><code>(0,0): warning CS1702: Assuming assembly reference 'Microsoft.Owin.Security.OAuth, 
  Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' matches
  'Microsoft.Owin.Security.OAuth, Version=2.0.2.0, Culture=neutral, 
  PublicKeyToken=31bf3856ad364e35', you may need to supply runtime policy
  Validation Complete
  ========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
  </code></pre>
  <p>This is what my <code>Bin</code> directory looks like:</p>
  <p><img src="https://i.stack.imgur.com/rfuX6.png" alt="enter image description here" /></p>
  <p>Here's the <code>packages.config</code> file:</p>
  <pre><code>&lt;packages&gt;
    &lt;package id=&quot;EntityFramework&quot; version=&quot;6.0.2&quot; targetFramework=&quot;net45&quot; /&gt;
    &lt;package id=&quot;Microsoft.AspNet.Identity.Core&quot; version=&quot;1.0.0&quot; targetFramework=&quot;net45&quot; /&gt;
    &lt;package id=&quot;Microsoft.AspNet.Identity.EntityFramework&quot; version=&quot;1.0.0&quot; targetFramework=&quot;net45&quot; /&gt;
    &lt;package id=&quot;Microsoft.AspNet.Identity.Owin&quot; version=&quot;1.0.0&quot; targetFramework=&quot;net45&quot; /&gt;
    &lt;package id=&quot;Microsoft.Owin&quot; version=&quot;2.1.0&quot; targetFramework=&quot;net45&quot; /&gt;
    &lt;package id=&quot;Microsoft.Owin.Host.SystemWeb&quot; version=&quot;2.1.0&quot; targetFramework=&quot;net45&quot; /&gt;
    &lt;package id=&quot;Microsoft.Owin.Security&quot; version=&quot;2.0.2&quot; targetFramework=&quot;net45&quot; /&gt;
    &lt;package id=&quot;Microsoft.Owin.Security.Cookies&quot; version=&quot;2.0.2&quot; targetFramework=&quot;net45&quot; /&gt;
    &lt;package id=&quot;Microsoft.Owin.Security.OAuth&quot; version=&quot;2.0.2&quot; targetFramework=&quot;net45&quot; /&gt;
    &lt;package id=&quot;Newtonsoft.Json&quot; version=&quot;4.5.11&quot; targetFramework=&quot;net45&quot; /&gt;
    &lt;package id=&quot;Owin&quot; version=&quot;1.0&quot; targetFramework=&quot;net45&quot; /&gt;
  &lt;/packages&gt;
  </code></pre>
  <p>In my <code>web.config</code> file, there's the runtime section that looks like this:</p>
  <pre><code>  &lt;runtime&gt;
      &lt;assemblyBinding xmlns=&quot;urn:schemas-microsoft-com:asm.v1&quot;&gt;
        &lt;dependentAssembly&gt;
          &lt;assemblyIdentity name=&quot;Microsoft.Owin.Security.OAuth&quot; publicKeyToken=&quot;31bf3856ad364e35&quot; culture=&quot;neutral&quot;/&gt;
          &lt;bindingRedirect oldVersion=&quot;0.0.0.0-2.0.2.0&quot; newVersion=&quot;2.0.2.0&quot;/&gt;
        &lt;/dependentAssembly&gt;
        &lt;dependentAssembly&gt;
          &lt;assemblyIdentity name=&quot;Microsoft.Owin&quot; publicKeyToken=&quot;31bf3856ad364e35&quot; culture=&quot;neutral&quot;/&gt;
          &lt;bindingRedirect oldVersion=&quot;0.0.0.0-2.1.0.0&quot; newVersion=&quot;2.1.0.0&quot;/&gt;
        &lt;/dependentAssembly&gt;
        &lt;dependentAssembly&gt;
          &lt;assemblyIdentity name=&quot;Microsoft.Owin.Security&quot; publicKeyToken=&quot;31bf3856ad364e35&quot; culture=&quot;neutral&quot;/&gt;
          &lt;bindingRedirect oldVersion=&quot;0.0.0.0-2.0.2.0&quot; newVersion=&quot;2.0.2.0&quot;/&gt;
        &lt;/dependentAssembly&gt;
        &lt;dependentAssembly&gt;
          &lt;assemblyIdentity name=&quot;Microsoft.Owin.Security.Cookies&quot; publicKeyToken=&quot;31bf3856ad364e35&quot; culture=&quot;neutral&quot;/&gt;
          &lt;bindingRedirect oldVersion=&quot;0.0.0.0-2.0.2.0&quot; newVersion=&quot;2.0.2.0&quot;/&gt;
        &lt;/dependentAssembly&gt;
      &lt;/assemblyBinding&gt;
    &lt;/runtime&gt;
  </code></pre>
  <p>What do you think I need to do to get rid of this warning?</p>
  <p>Thanks.</p>