Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You can solve this issue in general whenever you update packages or add new packages via NuGet and end up with "Could Not Load file or Assembly..." issues.</p> <p>Open the <strong>Package Manager Console</strong> (<em>VS 2012 Tools/Library Package Manager/ Package Manager Console</em>). Once the shell opens for the Package Manager Console run the command:</p> <p><strong>Add-BindingRedirect</strong></p> <p>Note: Be careful as the NugGet example added an 's' to the end in their example and <code>Add-BindingRedirect</code> is not a valid command.</p> <p>This does the following: </p> <blockquote> <p>Examines all assemblies in the output path for a project and adds binding redirects to the application configuration (app.config) file or to the web configuration (web.config) file where required.</p> </blockquote> <p>You can see complete documentation for the Package Manager Console at: <a href="http://nuget.codeplex.com/wikipage?title=Package%20Manager%20Console%20Command%20Reference%20(v1.3)" rel="nofollow noreferrer">http://nuget.codeplex.com/wikipage?title=Package%20Manager%20Console%20Command%20Reference%20(v1.3)</a></p> <p>In addition to the two entries you see in astaykov's answer the following was also added for my Project. </p> <pre><code> &lt;dependentAssembly&gt; &lt;assemblyIdentity name="System.Spatial" publicKeyToken="31bf3856ad364e35" culture="neutral" /&gt; &lt;bindingRedirect oldVersion="0.0.0.0-5.5.0.0" newVersion="5.5.0.0" /&gt; &lt;/dependentAssembly&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload