Unable to Load SQlite.Interop.dll problem with System.Data.SQlite

Hai, I recently got some problem when deploying SQlite at my C# .Net project. Title of this post already describe the problem. When you use system.data.sqlite by referencing project to system.data.sqlite.dll, there will be chance to reproduce this problem.

This steps will give you the right step to configure your project, so you can use sqlite without glitch.

Setting up system.data.sqlite with c# :

  1. Download the precompiled binary package at here.
  2. Right Click your solution at solution explorer, choose [Add] – [Existing Item].
  3. On file type drop down, choose All Files.
  4. Add the SQlite.Interop.dll.
    Image
  5. Find the SQLite.Interop.dll at your solution explorer and give it a right click, select [properties]. At properties panel, choose [Always Copy] at
    Image
  6. And problem solved.

I hope it will help you guys.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s