Skip to content

SQLite.Net.Platform.WinRT Framework Version and Dependencies #224

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
eierina opened this issue Oct 5, 2015 · 0 comments
Open

SQLite.Net.Platform.WinRT Framework Version and Dependencies #224

eierina opened this issue Oct 5, 2015 · 0 comments

Comments

@eierina
Copy link

eierina commented Oct 5, 2015

I'm building a Window8 PCL library and I was getting the following error:
The type or namespace name 'Platform' does not exist in the namespace 'SQLite.Net' when referencing SQLite.Net.Platform.WinRT.SQLitePlatformWinRT().

Looking at the build output I saw two warnings that caught my attention:

  1. PCLStorage could not be referenced
  2. A warning about referencing a 4.5.1 compiled library from a 4.5 library.

While the solution to problem 1 is obvious, any dependency should be included in the NuGet package.
To bypass the problem 2, which was preventing compilation, I changed the following in the project

from:

    <Reference Include="SQLite.Net.Platform.WinRT, Version=3.0.5.0, Culture=neutral, processorArchitecture=MSIL">
      <HintPath>..\packages\SQLite.Net-PCL.3.0.5\lib\Windows8\SQLite.Net.Platform.WinRT.dll</HintPath>
      <Private>True</Private>
    </Reference>

to:

    <Reference Include="SQLite.Net.Platform.WinRT, Version=3.0.5.0, Culture=neutral, processorArchitecture=MSIL">
      <HintPath>..\packages\SQLite.Net-PCL.3.0.5\lib\Windows8\SQLite.Net.Platform.WinRT.dll</HintPath>
      <Private>True</Private>
      <SpecificVersion>true</SpecificVersion>
    </Reference>

In any case, if the nuget package targets Windows 8, I'd expect the WinRT platform project to be built against framework be 4.5 rather than 4.5.1.

oysteinkrog added a commit that referenced this issue Jan 25, 2016
Allowing SQLiteAPiWinRT to receive explicit address for temp folder.

#224 fixed
johnfoconnor pushed a commit to machinezone/SQLite.Net-PCL2 that referenced this issue Nov 10, 2022
…c-create-table-flags

Added CreateFlags parameter to CreateTableAsync methods.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant