D 2018-08-30T14:31:01.184 J icomment I\scannot\sload\sSystem.Data.SQLite,\sVersion=1.0.109.0\swhen\strying\sto\srun\sconsole\sNET\sCORE\s2.0\sapplication.\r\nSystem.Data.SQLite,\sVersion=1.0.109.0\r\n\r\nusing\s(SQLiteConnection\sconnection\s=\snew\sSQLiteConnection("***"))\r\n\s\s\s\s\s\s\s\s\s\s\s\s{\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sconnection.Open();\r\n\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\svar\skeyCommand\s=\sconnection.CreateCommand();\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\skeyCommand.CommandText\s=\s"select\scount(*)\sfrom\sConfig";\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\svar\sres\s=\skeyCommand.ExecuteScalar();\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sConsole.WriteLine($"Res\s=\s{res}");\r\n\s\s\s\s\s\s\s\s\s\s\s\s}\r\n\r\nI\shave\stried\sto\sadd\sSystem.Data.SQLite\sor\sSystem.Data.SQLite.Core\sfrom\snuget\sbut\snothing\sgood\shappens.\s\r\nIf\sI\screate\sa\swindows\sonly\s.net\sframework\s4.7.*\sapplication\severything\sworks\sfine.\sBut\sI\ssee\sthat\son\s.net\sframework\sI\shave\sx86\sand\sx64\sfolder\swith\sSQLite.Interop.dll\sand\sI\sdon't\shave\sthis\slibrary\son\sNET\sCORE.\r\nMaybe\sit\sis\sthe\sreason\swhy\sI\smy\sprogram\sdoesn't\swork?\sHow\scan\sI\sfix\sthis?\sWhere\scan\sI\sfind\sthe\sinterop\slibrary\sfor\sNET\sCORE\sand\show\scan\sI\smake\smy\sprogram\srun\son\sNET\sCORE?\r\n\r\nP.S.:\sI\stried\scopying\sSystem.Data.SQLite.dll\sto\soutput\sdirectory\sbut\shave\sno\sresult! J login anonymous J mimetype text/x-fossil-plain J severity Critical J status Open J title Could\snot\sload\sfile\sor\sassembly\s'System.Data.SQLite,\sVersion=1.0.109.0 J type Incident K b07e6f8ae48cb3a3a34f0fe8b4f91e051bf6a76b U anonymous Z dbd0850da870b9cf01018f3b70fec24b