这是因为.NET Framework 4.0中把版本号全部统一成4.0了,而这个SQLite provider是.NET 2.0的。

解决方法是在app.config的configuration节点下加入以下节点:

<startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0"/>
</startup>

 

相关文章:

  • 2021-12-02
  • 2021-07-12
  • 2021-11-02
  • 2021-12-02
  • 2021-07-28
  • 2022-12-23
猜你喜欢
  • 2021-12-24
  • 2021-11-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案