c# - Sqlite in mono, SQLiteConnection could not be found -


I'm not sure how to fix this error.

  Type or namespace name `SQLiteConnection 'could not be found Do not you miss the instructions or an assembly reference?  

I reference Mono.Data Mono.Data. Skilite mono Data Using the Sclient Client and some non-related riffs I am using system.Data.SQLite

  //; // & lt; - This line mono in all MSO data. There was a need to use scalites; Mono.data Using the Sclient Client; Using the system; Using System.Data; By using Mono.Data.SqliteClient  

Do you reference (DLL)?
If not, try doing so, and it should work.

EDIT: The above is, if you want to use System.Data.SQLite, but you can also use Mono built in data .SqliteClient which can be better if you use mono Read more about this here. In the example of their code they use the squid connection, and you use SQLiteConnection, notice the different case.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -