[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, )
Jeff Stedfast
jeff at xamarin.com
Tue Oct 18 09:31:56 EDT 2011
- Previous message: [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, )
- Next message: [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, )
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Hi Danny,
My apologies, I just looked at your original email again and saw
clearly that you obviously must have referenced it to get the error
you did.
Looks like there is a missing method exception. This *might* indicate
that something is wrongly being linked out (by MonoTouch's linker).
Could you try disabling the linker in Project / <ProjectName> Options
/ iPhone Build and set the linker drop-down to "Don't Link"?
Does that fix it? If so, it's a bug in our linker. Let us know either way.
Jeff
On Tue, Oct 18, 2011 at 12:47 AM, Danny Pronk <dpronk at probe-asp.eu> wrote:
> Hi Jeff,
> Yes, i have added the reference to my project (reference->checked the
> mono.data.sqlite reference)
> Regards
> Danny
> Van: Jeff Stedfast <jeff at xamarin.com>
> Datum: Mon, 17 Oct 2011 18:24:36 -0400
> Aan: Danny Pronk <dpronk at probe-asp.eu>
> CC: "monotouch at lists.ximian.com" <monotouch at lists.ximian.com>
> 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 <dpronk at probe-asp.eu> 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
>> MonoTouch at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/monotouch
>>
>
>
- Previous message: [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, )
- Next message: [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, )
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MonoTouch
mailing list