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
Describe the bug
I am using Microsoft.Data.Sqlite inside one of my plugins, below functionality.
privatestring[]GetSQLiteTables(stringconnStr){vartables=newList<string>();usingvarconnection=new SqliteConnection(connStr);
connection.Open();varcommand= connection.CreateCommand();
command.CommandText =@"SELECT name FROM sqlite_master WHERE type ='table' AND name NOT LIKE 'sqlite_%' ORDER BY name;";usingvarreader= command.ExecuteReader();while(reader.Read()){
tables.Add(reader.GetString(0));}return tables.ToArray();}
but when I am loading the plugin I get the following error:
DllNotFoundException: Unable to load DLL 'e_sqlite3' or one of its dependencies: The specified module could not be found. (0x8007007E)
Expected behavior
I think the loader should load the DLL without a problem. Even I copied SQLitePCLRaw.provider.e_sqlite3.dll to the plugin folder but nothing happened.
Screenshots
The text was updated successfully, but these errors were encountered:
HamedFathi
changed the title
PlatformNotSupported in netstandard2.1 plugins
DllNotFoundException: Unable to load DLL 'e_sqlite3' or one of its dependencies
Jun 8, 2021
Possibly a duplicate of #84. Can you read that thread? If it's the same issue, this issue isn't something we can fix here. You'll have to ask for help from Microsoft or use workarounds shared in that thread.
Describe the bug
I am using
Microsoft.Data.Sqlite
inside one of my plugins, below functionality.but when I am loading the plugin I get the following error:
To Reproduce
The project and code is here
Expected behavior
I think the loader should load the DLL without a problem. Even I copied
SQLitePCLRaw.provider.e_sqlite3.dll
to the plugin folder but nothing happened.Screenshots
The text was updated successfully, but these errors were encountered: