[Mono-winforms-list] Re: FolderBrowseDialog fails
Peter Dennis Bartok
peter at novonyx.com
Tue May 24 13:57:57 EDT 2005
Vorobiev,
I just checked, and the resource "monitor-planet" is in fact included in
mcs/class/Managed.Windows.Forms/resources/System.Windows.Forms.resx. It was
checked in in revision 41754, and the 1.1.7 version contained everything up
to r43982.
However, when those files were updated, the .prebuilt files (which might
have been used for building, still verifying that) were not simultaneously
updated and checked in, so it seems that 1.1.7 went out with a compiled SWF
dll that did not contain them. I apologize for that oversight.
For those people who run into this issue and do not want to recompile the
dll, http://mwf.mono-project.com/System.Windows.Forms.dll contains an
up-to-date version.
Cheers,
Peter
-----Original Message-----
From: "Vorobiev Maksim" <MVorobiev at croc.ru>
To: <mono-devel-list at lists.ximian.com>
Date: 24 May, 2005 11:18
Subject: [Mono-devel-list] FolderBrowseDialog fails
Good day.
Creation of instance of System.Windows.Forms.FileBrowseDialog failed for
me at constructor call with Mono version 1.1.7. I've ran my program
under "ru" locale. So, constructor failed at the line 532:
imageList.Images.Add( (Image)Locale.GetResource( "monitor-planet" ) );
debug mode shows, that the problem - null reference passed to Add
method. This is because "monitor-planet" resource is not defined in file
System.Windows.Forms.resx. Then I copied resource "monitor-planet"
definition from System.Windows.Forms.de.resx file and recompiled mono
project (especially System.Windows.Forms.dll). Now everything is working
file. My question is: is it correct method and how to fix this issue for
next Mono release? Can I supply the patch and where should I post it?
Thanks.
http://www.croc.ru
mvorobiev at croc.ru
More information about the Mono-winforms-list
mailing list