title: Could not load file or assembly 'DotNetOpenAuth.AspNet'
body: <p>I am getting below error whenever I am running my project. This is happening from the time I installed DotNetOpenAuth. </p>
  
  <blockquote>
    <p>Could not load file or assembly 'DotNetOpenAuth.AspNet' or one of its dependencies. The located   assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)</p>
    
    <p>Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. </p>
    
    <p>Exception Details: System.IO.FileLoadException: Could not load file or assembly 'DotNetOpenAuth.AspNet' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)</p>
    
    <p>Source Error: </p>
    
    <p>An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</p>
    
    <p>Assembly Load Trace: The following information can be helpful to determine why the assembly 'DotNetOpenAuth.AspNet' could not be loaded.</p>
    
    <p>=== Pre-bind state information ===
    LOG: DisplayName = DotNetOpenAuth.AspNet
     (Partial)
    WRN: Partial binding information was supplied for an assembly:
    WRN: Assembly Name: DotNetOpenAuth.AspNet | Domain ID: 2
    WRN: A partial bind occurs when only part of the assembly display name is provided.
    WRN: This might result in the binder loading an incorrect assembly.
    WRN: It is recommended to provide a fully specified textual identity for the assembly</p>
  </blockquote>
  
  <p>I also get below warning while building the project.</p>
  
  <blockquote>
    <p>C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5): warning MSB3277: Found conflicts between different versions of the same dependent assembly that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed.</p>
  </blockquote>
  
  <p>There is absolutely no information as to what is going wrong here. Can someone help me debug as to what is the issue. I am trying to fix this from past 2 days but had no luck whatsoever.</p>
  
  <p>Edit: Here is the packages.config - </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;packages&gt;
    &lt;package id="Antlr" version="3.4.1.9004" targetFramework="net45" /&gt;
    &lt;package id="bootstrap" version="3.2.0" targetFramework="net45" /&gt;
    &lt;package id="CodeContracts.Unofficial" version="1.0.0.2" targetFramework="net45" /&gt;
    &lt;package id="DotNetOpenAuth.AspNet" version="4.1.4.12333" targetFramework="net45" /&gt;
    &lt;package id="DotNetOpenAuth.AspNet" version="4.0.3.12153" targetFramework="net45" /&gt;
    &lt;package id="DotNetOpenAuth.Core" version="4.1.4.12333" targetFramework="net45" /&gt;
    &lt;package id="DotNetOpenAuth.Core" version="4.0.3.12153" targetFramework="net45" /&gt;
    &lt;package id="DotNetOpenAuth.OAuth.Consumer" version="4.1.4.12333" targetFramework="net45" /&gt;
    &lt;package id="DotNetOpenAuth.OAuth.Consumer" version="4.0.3.12153" targetFramework="net45" /&gt;
    &lt;package id="DotNetOpenAuth.OAuth.Core" version="4.1.4.12333" targetFramework="net45" /&gt;
    &lt;package id="DotNetOpenAuth.OAuth.Core" version="4.0.3.12153" targetFramework="net45" /&gt;
    &lt;package id="DotNetOpenAuth.OpenId.Core" version="4.1.4.12333" targetFramework="net45" /&gt;
    &lt;package id="DotNetOpenAuth.OpenId.Core" version="4.0.3.12153" targetFramework="net45" /&gt;
    &lt;package id="DotNetOpenAuth.OpenId.RelyingParty" version="4.1.4.12333" targetFramework="net45"     /&gt;
    &lt;package id="DotNetOpenAuth.OpenId.RelyingParty" version="4.0.3.12153" targetFramework="net45" /&gt;
    &lt;package id="jQuery" version="2.1.1" targetFramework="net45" /&gt;
    &lt;package id="jQuery.UI.Combined" version="1.11.1" targetFramework="net45" /&gt;
    &lt;package id="jQuery.Validation" version="1.13.0" targetFramework="net45" /&gt;
    &lt;package id="Microsoft.AspNet.Mvc" version="4.0.30506.0" targetFramework="net45" /&gt;
    &lt;package id="Microsoft.AspNet.Mvc" version="4.0.20710.0" targetFramework="net45" /&gt;
    &lt;package id="Microsoft.AspNet.Mvc.FixedDisplayModes" version="1.0.0" targetFramework="net45" /&gt;
    &lt;package id="Microsoft.AspNet.Razor" version="3.2.2" targetFramework="net45" /&gt;
    &lt;package id="Microsoft.AspNet.Razor" version="2.0.20710.0" targetFramework="net45" /&gt;
    &lt;package id="Microsoft.AspNet.Web.Optimization" version="1.1.3" targetFramework="net45" /&gt;
    &lt;package id="Microsoft.AspNet.Web.Optimization" version="1.0.0" targetFramework="net45" /&gt;
    &lt;package id="Microsoft.AspNet.WebApi" version="4.0.30506.0" targetFramework="net45" /&gt;
    &lt;package id="Microsoft.AspNet.WebApi.Client" version="4.0.30506.0" targetFramework="net45" /&gt;
    &lt;package id="Microsoft.AspNet.WebApi.Core" version="4.0.30506.0" targetFramework="net45" /&gt;
    &lt;package id="Microsoft.AspNet.WebApi.WebHost" version="4.0.30506.0" targetFramework="net45" /&gt;
    &lt;package id="Microsoft.AspNet.WebPages" version="2.0.30506.0" targetFramework="net45" /&gt;
    &lt;package id="Microsoft.AspNet.WebPages" version="2.0.20710.0" targetFramework="net45" /&gt;
    &lt;package id="Microsoft.AspNet.WebPages.Data" version="3.2.2" targetFramework="net45" /&gt;
    &lt;package id="Microsoft.AspNet.WebPages.Data" version="2.0.20710.0" targetFramework="net45" /&gt;
    &lt;package id="Microsoft.AspNet.WebPages.OAuth" version="3.2.2" targetFramework="net45" /&gt;
    &lt;package id="Microsoft.AspNet.WebPages.OAuth" version="2.0.20710.0" targetFramework="net45" /&gt;
    &lt;package id="Microsoft.AspNet.WebPages.WebData" version="3.2.2" targetFramework="net45" /&gt;
    &lt;package id="Microsoft.AspNet.WebPages.WebData" version="2.0.20710.0" targetFramework="net45" /&gt;
    &lt;package id="Microsoft.jQuery.Unobtrusive.Ajax" version="3.2.2" targetFramework="net45" /&gt;
    &lt;package id="Microsoft.jQuery.Unobtrusive.Validation" version="3.2.2" targetFramework="net45" /&gt;
    &lt;package id="Microsoft.Net.Http" version="2.0.20710.0" targetFramework="net45" /&gt;
    &lt;package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net45" /&gt;
    &lt;package id="Newtonsoft.Json" version="5.0.4" targetFramework="net45" /&gt;
    &lt;package id="UpgradeMvc3ToMvc4" version="1.0.1" targetFramework="net45" /&gt;
    &lt;package id="WebGrease" version="1.5.2" targetFramework="net45" /&gt;
    &lt;package id="WebGrease" version="1.1.0" targetFramework="net45" /&gt;
  &lt;/packages&gt;
  </code></pre>