c# - Wrong path to SQLiteDB (or copy) on WinPhone. Xamarin.Forms PCL -
have installed nuget packages xamarin.forms pcl. have 4 projects droid, ios, win 8.1 , winphone 8.1. tried connect database, encountered trouble: win , winphone projects don`t see or return me wrong path. followed official xamarin.forms forum. interface: public interface isqlite { string getdatabasepath(string filename); } winphone class: using system.io; using windows.storage; using baumizer.winphone; using xamarin.forms; [assembly: dependency(typeof(sqlite_winphone))] namespace baumizer.winphone { public class sqlite_winphone:isqlite { public sqlite_winphone() { } public string getdatabasepath(string filename) { return path.combine(applicationdata.current.localfolder.path, filename); } }} this class selecting info: public class database { sqliteconnection connection; public database() { connection= new sqliteconnection(dependencyservice.get<isqlite>().getdatabasepath("database.db")); } publ