Marc Christensen | 2 Aug 01:15
Favicon

Mono 2.0 Preview 1 is out!!

Hey Everyone,

We've just released Mono 2.0 Preview 1 today! Please help us out by
giving it a try with your applications.

As always, you can get the preview releases here:
http://mono.ximian.com/monobuild/preview/download-preview/

Please report any bugs that you may find using our Bugs page, AND reply
to this thread with the bug numbers so we can track them!
http://www.mono-project.com/Bugs

You can see the bugs we're tracking for Mono 2.0 here:
https://bugzilla.novell.com/buglist.cgi?bug_file_loc_type=allwordssubstr&bug_file_loc=http%3A%2F%2Fwww.go-mono.com%2Farchive%2F2.0%2F&order=bugs.bug_status%20

The earlier you file the bugs and reply to this message, the more likely
your bugs will get fixed.

Special attention is given to regressions, so if you can tell us a
version of Mono where the bug worked and you tag the summary of the bug
with [Regression], then it is much more likely your bug will get fixed.

Please help the Mono team to make 2.0 the best ever.

Thanks again!

Mono QA
_______________________________________________
Mono-announce-list maillist  -  Mono-announce-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-announce-list
(Continue reading)

Andrus | 4 Aug 16:08

TypeConverter cannot convert from System.String in 2.0 preview 1

My WinForms application does not start with 2.0 preview 1. Exception is
below.
Maybe this is because I store Font object in user settings:

        [global::System.Configuration.UserScopedSettingAttribute()]
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.Configuration.DefaultSettingValueAttribute("Arial,
15pt")]
        public global::System.Drawing.Font TextBoxFont {
            get {
                return ((global::System.Drawing.Font)(this["TextBoxFont"]));
            }
            set {
                this["TextBoxFont"] = value;
            }
        }

How to fix ?

Andrus.

Unhandled Exception: System.TypeInitializationException: An exception was
thrown by the type initializer for
MyApplication.Windows.Forms.Properties.Settings --->
System.NotSupportedException: TypeConverter cannot convert from
System.String.

  at System.ComponentModel.TypeConverter.GetConvertFromException
(System.Object value) [0x00000]
  at System.ComponentModel.TypeConverter.ConvertFrom (ITypeDescriptorContext
(Continue reading)

Ivan N. Zlatev | 4 Aug 16:59
Gravatar

Re: TypeConverter cannot convert from System.String in 2.0 preview 1

On Mon, Aug 4, 2008 at 5:08 PM, Andrus <kobruleht2 <at> hot.ee> wrote:
> My WinForms application does not start with 2.0 preview 1. Exception is
> below.

If it runs on MS.NET but doesn't run on mono then it's a bug of ours.
Can you please make a *small* self-contained test case out of your
application by extracting only the part that causes the exception and
then file a bug with it (attach it to the bug) -
http://mono-project.com/Bugs. Then post the bug number.

-- 
Kind Regards,
Ivan N. Zlatev

> Maybe this is because I store Font object in user settings:
>
>        [global::System.Configuration.UserScopedSettingAttribute()]
>        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
>        [global::System.Configuration.DefaultSettingValueAttribute("Arial,
> 15pt")]
>        public global::System.Drawing.Font TextBoxFont {
>            get {
>                return ((global::System.Drawing.Font)(this["TextBoxFont"]));
>            }
>            set {
>                this["TextBoxFont"] = value;
>            }
>        }
>
>
(Continue reading)

Andrus | 4 Aug 20:30

Re: TypeConverter cannot convert from System.String in 2.0 preview 1

> If it runs on MS.NET but doesn't run on mono then it's a bug of ours.
> Can you please make a *small* self-contained test case out of your
> application by extracting only the part that causes the exception and
> then file a bug with it (attach it to the bug) -
> http://mono-project.com/Bugs. Then post the bug number.

Done !

https://bugzilla.novell.com/show_bug.cgi?id=414445
https://bugzilla.novell.com/show_bug.cgi?id=414446

Andrus.

_______________________________________________
Mono-list maillist  -  Mono-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

Andrus | 11 Aug 13:34

Re: TypeConverter cannot convert from System.String in2.0 preview 1

> https://bugzilla.novell.com/show_bug.cgi?id=414445

To verify Ivan's fix I tried the following:

1. http://mono.ximian.com/snapshots/  is broken

2. http://www.mono-project.com/Guide:_Debugging_With_MWF

using those instructions VCSE 2008 reports missing links to WebBrowser 
control.
I added WebBrowser project also to solution but VCSE still reports some 
missing references and refuces to compile.

How to verify this fix in Windows ?

Andrus.
_______________________________________________
Mono-list maillist  -  Mono-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

Ivan N. Zlatev | 12 Aug 22:44
Gravatar

Re: TypeConverter cannot convert from System.String in2.0 preview 1

On Mon, Aug 11, 2008 at 1:34 PM, Andrus <kobruleht2 <at> hot.ee> wrote:
>> https://bugzilla.novell.com/show_bug.cgi?id=414445
>
> To verify Ivan's fix I tried the following:
>
> 1. http://mono.ximian.com/snapshots/  is broken
>

The actual link (as present in the "Download" section on
mono-project.com) is
http://mono.ximian.com/monobuild/snapshot/download-trunk/

> 2. http://www.mono-project.com/Guide:_Debugging_With_MWF
>
> using those instructions VCSE 2008 reports missing links to WebBrowser
> control.
> I added WebBrowser project also to solution but VCSE still reports some
> missing references and refuces to compile.
>
> How to verify this fix in Windows ?
>

I haven't ever build mono with Visual Studio, so I can't help there.
However you could use this quick step by step guide to compile and
install from source at
http://i-nz.net/2006/03/14/compile-mono-svn-head-on-windows/ . I hope
that helps.

--

-- 
Kind Regards,
(Continue reading)

Andrus | 18 Aug 19:29

Re: TypeConverter cannot convert from System.String in2.0 preview 1

> The actual link (as present in the "Download" section on
> mono-project.com) is
> http://mono.ximian.com/monobuild/snapshot/download-trunk/

I havent found System.Windows.Forms.dll file in this link.

> However you could use this quick step by step guide to compile and
> install from source at
> http://i-nz.net/2006/03/14/compile-mono-svn-head-on-windows/ . I hope
> that helps.

I followed those instructions, but copied mono sources manually from other 
svn directory.
I created file  makemono  containing

export MONO_LOCATION=/cygdrive/c/mono
export PATH=${PATH}:${MONO_LOCATION}/bin
export ACLOCAL_FLAGS="-I ${MONO_LOCATION}/share/aclocal"
export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${MONO_LOCATION}/lib/pkgconfig
./autogen.sh --prefix=/mono/build
make
make install

Running this file causes error

andrus <at> andrus-notebook /mono/svn/mono
$ ./makemono
Running libtoolize...
You should add the contents of `/usr/share/aclocal/libtool.m4' to
`aclocal.m4'.
(Continue reading)

silk | 26 Aug 16:18

Re: Mono 2.0 Preview 1 is out!!

* Marc Christensen <mchristensen <at> novell.com> [2008-08-02 01:17]:
> Please report any bugs that you may find using our Bugs page, AND reply
> to this thread with the bug numbers so we can track them!
> http://www.mono-project.com/Bugs

Hi.
I have submitted a regression bug as:
https://bugzilla.novell.com/show_bug.cgi?id=420386

Code:
  using System.Drawing;
  ...
  Color? col = null;
  Console.WriteLine (col == Color.Red);

Rhould return false, but gives true in gmcs 2.0
Worked ok in 1.9.1.
More info in the bugzilla.

silk

_______________________________________________
Mono-list maillist  -  Mono-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Gmane