Cant seem to get SQLite.Net PCL to work
Performed the following:
Opened Xamarin Studio for Windows Version 5.9.6
Start a new Xamarin.Forms Solution
Update All Packages
Run default App in emulator to make sure it functions.
Go to the PCL and Right click packages Add Packages.
Add "SQLite.Net PCL"
published:4/26/2015
id:SQLite.Net-PCL
dependencies:None
in the constructor for App in the PCL I added
SQLite.Net.SQLiteConnection conn = new SQLite.Net.SQLiteConnection (SQLite.Net.Platform.XamarinAndroid, "/data/notgoingtogetthisfar.db");
on compile I get
Error CS0234: The type or namespace name 'Platform' does not exist in the namespace 'SQLite.Net' (are you missing an assembly reference?) (CS0234)
I assume there is a dependency or something I am missing could someone please point me in the right direction. Been chasing this for the better part of 5 hours now.
If I try the older version.
SQLite-Net PCL
published:1/22/2015
id:SQLite.Net-PCL
dependencies:SQLitePCL.raw_basic(>0.7.1)
This older version seems to work. Anyone got a guess as to what I'm missing in order to use the later version?
Also is there anything I'm really missing out on by just using the older one that works instead of its newer unstable brother?