Note that there are some explanatory texts on larger screens.

plurals
  1. POHelp : Found conflicts between different versions of the same dependent assembly using SQLIte
    primarykey
    data
    text
    <p>One of my projects uses Elmah, which references SQLite. Elmah is built against SQLite for .Net version 1.0.44.0</p> <p>well I was experimenting with some 64 bit stuff (my dev box is 32 bit) so I needed the 64 bit version of SQLite for .Net. I grabbed the latest build of it (1.0.51.0 at the time) and used their installer to install it. For my 32 bit project, I updated the reference to System.Data.SQLite to point to the newer version. Once I realized my mistake, I uninstalled it and grabbed the appropriate original version, and pointed my reference back to 1.0.44.0</p> <p>Now when I build I get the warning about different versions of the same dependant assembly. Clicking on it asks if I want it to edit my app.config and it inserts this:</p> <pre><code>&lt;runtime&gt; &lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&gt; &lt;dependentAssembly&gt; &lt;assemblyIdentity name="System.Data.SQLite" publicKeyToken="DB937BC2D44FF139" culture="neutral"/&gt; &lt;bindingRedirect oldVersion="0.0.0.0-1.0.51.0" newVersion="1.0.51.0"/&gt; &lt;/dependentAssembly&gt; &lt;/assemblyBinding&gt; &lt;/runtime&gt; </code></pre> <p>umm..I don't have 1.0.51.0 installed or existing anywhere on my system anymore! where is the conflict? why does visual studio think it exists somewhere? I checked in the GAC and there is no System.Data.SQLite anywhere.</p> <p>I'd like to get rid of this annoying warning. I have another project in the same solution that also references SQLite, but I never updated the reference to the newer version (and subsequently never changed the reference back)..it has always been referencing 1.0.44.0. That project doesn't complain at all...</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    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. 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