system.data.sqlite .net 4

前端 未结 3 1550
情歌与酒
情歌与酒 2020-12-01 04:15

Is there a .Net 4 version of System.Data.SQLite?

At the moment I get this error:

Mixed mode assembly is built against version \'v2.0.50727\' o

相关标签:
3条回答
  • 2020-12-01 04:27

    Yes, there is now.

    http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki

    And you can use NuGet to install it as well. With nuget, its easy to choose between x86/x64/both, http://www.nuget.org/packages?q=system.data.sqlite .

    0 讨论(0)
  • 2020-12-01 04:29

    According to the forums of PhxSoftware:

    It's not high on my priority list right at the moment. When VS2010 comes closer to release I'll be updating the library to work with it.

    Although the message was posted in october 2009 there are some workarounds.

    Further there seems to be an updated (temporary) version specially for .NET 4:

    0 讨论(0)
  • 2020-12-01 04:40
    <configuration>
      <startup useLegacyV2RuntimeActivationPolicy="true">
        <supportedRuntime version="v4.0"/>
      </startup>
    </configuration>
    
    0 讨论(0)
提交回复
热议问题