SQLite.Net-PCL icon indicating copy to clipboard operation
SQLite.Net-PCL copied to clipboard

Visual Studio 2015 Update 2 Winrt issue

Open Viachaslau-Zinkevich opened this issue 8 years ago • 1 comments

Hi, after upgrading to Visual Studio 2015 Update 2 I cannot use SQLite.Net PCL winth WP8.1 in release mode. I get the following exception while trying to instantiate SQLitePlatformWinRT:

**Exception thrown: 'System.IO.FileLoadException' in PCL.Name.ni.DLL

Additional information: Could not load file or assembly 'SQLite.Net.Platform.WinRT, Version=3.1.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)**

This is my project.json for PCL library:

{
  "supports": {},
  "dependencies": {
    "CommonServiceLocator": "1.3.0",
    "HockeySDK.Core": "2.2.3",
    "HtmlAgilityPack": "1.4.9",
    "Humanizer": "2.0.1",
    "JetBrains.Annotations": "10.1.4",
    "MvvmLightLibs": "5.2.0",
    "Newtonsoft.Json": "8.0.3",
    "SQLite.Net-PCL": "3.1.1",
    "SQLite.Net.Async-PCL": "3.1.1",
    "SQLiteNetExtensions": "1.3.0",
    "SQLiteNetExtensions.Async": "1.3.0"
  },
  "frameworks": {
    ".NETPortable,Version=v4.6,Profile=Profile32": {}
  }
}

Viachaslau-Zinkevich avatar Apr 10 '16 20:04 Viachaslau-Zinkevich

Did you find a workaround or a fix? I've the same issue.

ZeProgFactory avatar Oct 23 '16 07:10 ZeProgFactory