in

System.Data.SQLite

An open source ADO.NET provider for the SQLite database engine

Managed-only compilation

Last post 03-15-2010 6:27 PM by Chanaev. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 03-10-2010 7:54 AM

    Managed-only compilation

     I wanted to recompile the managedonly dll. I am on linux, using vs 2008 across a samba share. I downloaded the current sources. The projects seem to build fine, and I do get new dll's in the bin directory, but when I use the System.Data.SQLite.dll I get 

    System.DllNotFoundException: SQLite.Interop.DLL
    at (wrapper managed-to-native) System.Data.SQLite.UnsafeNativeMethods:sqlite3_open_interop (byte[,int,intptr&)
    at System.Data.SQLite.SQLite3.Open (System.String strFilename, SQLiteOpenFlagsEnum flags, Int32 maxPoolSize, Boolean usePool) [0x00000] in <filename unknown>:0
    at System.Data.SQLite.SQLiteConnection.Open () [0x00000] in <filename unknown>:0
    at WebApplication1.Sqlite..ctor (System.String connection_string) [0x00000] in <filename unknown>:0
    at WebApplication1.Main.Page_Load (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0
    at System.Web.UI.Control.OnLoad (System.EventArgs e) [0x00029] in /root/mono-2.6.1/mcs/class/System.Web/System.Web.UI/Control.cs:979
    at System.Web.UI.Control.LoadRecursive () [0x00020] in /root/mono-2.6.1/mcs/class/System.Web/System.Web.UI/Control.cs:1460
    at System.Web.UI.Page.ProcessLoad () [0x0004a] in /root/mono-2.6.1/mcs/class/System.Web/System.Web.UI/Page.cs:1598
    at System.Web.UI.Page.ProcessPostData () [0x0004d] in /root/mono-2.6.1/mcs/class/System.Web/System.Web.UI/Page.cs:1576
    at System.Web.UI.Page.InternalProcessRequest () [0x001bf] in /root/mono-2.6.1/mcs/class/System.Web/System.Web.UI/Page.cs:1534
    at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x0005b] in /root/mono-2.6.1/mcs/class/System.Web/System.Web.UI/Page.cs:1353
     
    Have I got the right dll? Where does the managedonly dll wind up after the build?
     
  • 03-15-2010 6:27 PM In reply to

    Re: Managed-only compilation

     I have the same issue. As I understand you need to use unmanaged assembly only.

Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems