samedi 19 mars 2016

Visual Studio 2015 CS0117 C# '' does not contain a definition for SQLITE_PLATFORM'' SQLite

C# Universal Windows Application, Visual Studio 2015

I'm getting the error in the title, and I have the SQLite for Universal App Platform, Visual C++ For Universal Windows Platform Apps, and added SQLite.Net-PCL in NuGet, version 3.1.1 all installed.

I'm using this tutorial and am having the problem in SomeViewModel.cs and SomeItemsViewModel.cs

I have literally copied and pasted from that, and it won't work. Any suggestions? I've changed "SQLiteBlog" to my projects name, the red line and error are under (bolded)

Anyone?

 using (var db = new SQLiteConnection(App.**SQLITE_PLATFORM**, App.**DB_PATH**)) 

Aucun commentaire:

Enregistrer un commentaire