Im trying to get a Xamarin forms sqlite up an runnig.
it works fine for Android and iOS, but for windows i get this error. I'm target the solutions for windows phone 8.1 and using Xamarin forms 1.5(I can't upgrade it)
I been following this sample from Xamarin
public class SQLite_WinPhone : ISQLite
{
public SQLite_WinPhone() { }
protected override SQLite.SQLiteConnection GetConnection()
{
var sqliteFilename = "TODO.db3";
string path = Path.Combine(ApplicationData.Current.LocalFolder.Path, sqliteFilename);
// Create the connection
var conn = new SQLite.SQLiteConnection(path);
// Return the database connection
return conn;
}
}
but so far no luck.
The errors in my debug output show this
Exception thrown: 'System.ArgumentException' in mscorlib.ni.dll
Exception thrown: 'System.ArgumentException' in mscorlib.ni.dll
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\windows\system32\System.Runtime.Serialization.ni.dll'. Symbols loaded.
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'D:\WPSystem\AppRepository\App_1.0.0.6_arm__r1myykanma94r\NI\Plugin.Settings.ni.DLL'. Cannot find or open the PDB file.
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'D:\WPSystem\AppRepository\App_1.0.0.6_arm__r1myykanma94r\NI\Plugin.Settings.Abstractions.ni.DLL'. Cannot find or open the PDB file.
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'D:\WPSystem\AppRepository\App_1.0.0.6_arm__r1myykanma94r\NI\SQLite-net.ni.DLL'. Cannot find or open the PDB file.
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'D:\WPSystem\AppRepository\App_1.0.0.6_arm__r1myykanma94r\NI\SQLitePCL.raw.ni.DLL'. Cannot find or open the PDB file.
'AgHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'D:\WPSystem\Apps\{612EA1F2-DBC3-4581-8B74-789E6DC8E962}\Install\SQLitePCL.cppinterop.winmd'. Cannot find or open the PDB file.
Exception thrown: 'System.IO.FileNotFoundException' in SQLitePCL.raw.ni.DLL
The program '[4060] AgHost.exe' has exited with code -1 (0xffffffff).
have any of you out there bump into this before?
and I'm sorry if this is some noobish mistake, I'm new to this