[Mono-winforms-list] Value is not a convertibleobject:System.Drawing.Bitmap to System.Drawing.Image

Andrus kobruleht2 at hot.ee
Mon Oct 29 13:37:30 EDT 2007


I refreshed my 1.2.5 installation from monocharge-20071029
This refreshes mscorlib.dll also

After that I cannot use mono anymore:

mono myapp.exe returns:

Corlib not in sync with this runtime: expected corlib version 58, found 60.
Loaded from: C:\PROGRA~1\MONO-1~1.5\lib\mono\2.0\mscorlib.dll
Download a newer corlib or a newer runtime at http://www.go-mono.com/daily.


How to try latest changes without compiling ?

Andrus.

----- Original Message ----- 
From: "Gert Driesen" <gert.driesen at telenet.be>
To: "'Andrus'" <eetasoft at online.ee>; <mono-winforms-list at lists.ximian.com>
Sent: Sunday, October 28, 2007 5:45 PM
Subject: Re: [Mono-winforms-list] Value is not a 
convertibleobject:System.Drawing.Bitmap to System.Drawing.Image


> Andrus,
>
> This should be fixed in SVN.
>
> Can you try again against SVN HEAD?
>
> Gert
>
> -----Original Message-----
> From: mono-winforms-list-bounces at lists.ximian.com
> [mailto:mono-winforms-list-bounces at lists.ximian.com] On Behalf Of Andrus
> Sent: zaterdag 27 oktober 2007 21:12
> To: mono-winforms-list at lists.ximian.com
> Subject: [Mono-winforms-list] Value is not a convertible
> object:System.Drawing.Bitmap to System.Drawing.Image
>
> My Winforms C#  2005 Express .NET 2 application running under MONO 1.2.5
> causes exception
>
> Value is not a convertible object: System.Drawing.Bitmap to
> System.Drawing.Image
>
> Stack trace:   at System.Convert.ToType (System.Object value, System.Type
> conversionType, IFormatProvider provider) [0x00000]
>  at System.Convert.ChangeType (System.Object value, System.Type
> conversionType) [0x00000]
>  at System.ComponentModel.ComponentResourceManager.ApplyResources
> (System.Object value, System.String objectName,
> System.Globalization.CultureInfo culture) [0x00000]
>  at System.ComponentModel.ComponentResourceManager.ApplyResources
> (System.Object value, System.String objectName) [0x00000]
>  at MyApp.MainForm.InitializeComponent () [0x00000]
>  at MyApp.MainForm..ctor () [0x00000]
>  at (wrapper remoting-invoke-with-check) MyApp.MainForm:.ctor ()
>  at  MyApp.AppMainEntry.MainLoop () [0x00000] ...
>
> How to fix ?
>
> Is this known issue ?
>
> My application is complied in debug mode in VCSE 2005.
> How to force MONO to show line numbers in stack trace so I can find which
> ApplyResources () call causes exception ?
>
>
> Andrus.
>
> _______________________________________________
> Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>
> _______________________________________________
> Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list 



More information about the Mono-winforms-list mailing list