Hi Jeff, Yes, i have added the reference to my project (reference->checked the mono.data.sqlite reference)
Regards Danny Van: Jeff Stedfast <[email protected]> Datum: Mon, 17 Oct 2011 18:24:36 -0400 Aan: Danny Pronk <[email protected]> CC: "[email protected]" <[email protected]> Onderwerp: Re: [MonoTouch] Lion, MD 2.8.1, MT 5, Xcode 4.2 (Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Mono.Data.Sqlite, Version=2.0.5.0, Culture=neutral, ) Hi Danny, Have you added a reference to Mono.Data.SQLite in your project? Jeff On Mon, Oct 17, 2011 at 5:33 PM, Danny Pronk <[email protected]> wrote: > Hi, > > Does anybody have any experience with the following : > I have updated my system to Lion, Xcode 4.2 and the latest MonoTouch, > MonoDevelop > Old projects (converted) compile fine !! > However a brand new project gives me the following error. Don't have a clue > why this fails on iOS SDK 5.0 + Monotouch for iOS5 > Or better said, how can i FIX this? > > > Unhandled Exception: System.IO.FileNotFoundException: Could not load file or > assembly 'Mono.Data.Sqlite, Version=2.0.5.0, Culture=neutral, > PublicKeyToken=0738eb9f132ed756' or one of its dependencies. > File name: 'Mono.Data.Sqlite, Version=2.0.5.0, Culture=neutral, > PublicKeyToken=0738eb9f132ed756' > at eDis.Database.Initialize..ctor () [0x00017] in > /Users/dpronk/Projects/eDis/eDis/Database/Initialize.cs:15 > at eDis.AppDelegate.FinishedLaunching (MonoTouch.UIKit.UIApplication app, > MonoTouch.Foundation.NSDictionary options) [0x00000] in > /Users/dpronk/Projects/eDis/eDis/AppDelegate.cs:72 > at (wrapper managed-to-native) > MonoTouch.UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr) > at MonoTouch.UIKit.UIApplication.Main (System.String[] args, System.String > principalClassName, System.String delegateClassName) [0x00042] in > /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:29 > at eDis.Application.Main (SysMissing method CreateFile in assembly > /Users/dpronk/Projects/eDis/eDis/bin/iPhoneSimulator/Debug/eDis.exe, type > Mono.Data.Sqlite.SqliteConnection > Missing method CreateFile in assembly > /Users/dpronk/Projects/eDis/eDis/bin/iPhoneSimulator/Debug/eDis.exe, type > Mono.Data.Sqlite.SqliteConnection > tem.String[] args) [0x00000] in /Users/dpronk/Projects/eDis/eDis/Main.cs:16 > [ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not > load file or assembly 'Mono.Data.Sqlite, Version=2.0.5.0, Culture=neutral, > PublicKeyToken=0738eb9f132ed756' or one of its dependencies. > File name: 'Mono.Data.Sqlite, Version=2.0.5.0, Culture=neutral, > PublicKeyToken=0738eb9f132ed756' > at eDis.Database.Initialize..ctor () [0x00017] in > /Users/dpronk/Projects/eDis/eDis/Database/Initialize.cs:15 > at eDis.AppDelegate.FinishedLaunching (MonoTouch.UIKit.UIApplication app, > MonoTouch.Foundation.NSDictionary options) [0x00000] in > /Users/dpronk/Projects/eDis/eDis/AppDelegate.cs:72 > at (wrapper managed-to-native) > MonoTouch.UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr) > at MonoTouch.UIKit.UIApplication.Main (System.String[] args, System.String > principalClassName, System.String delegateClassName) [0x00042] in > /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:29 > at eDis.Application.Main (System.String[] args) [0x00000] in > /Users/dpronk/Projects/eDis/eDis/Main.cs:16 > > > Regards Danny > > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch >
_______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
