You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
PCLStorage could not be referenced
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
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:
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:
to:
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.
The text was updated successfully, but these errors were encountered: