[Mono-bugs] [Bug 374516] Configuration fails to load a Rectangle definition from executable configuration xml file

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Aug 5 03:22:49 EDT 2008


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

User efbiaiinzinz at hotmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=374516#c3





--- Comment #3 from Indrek Altpere <efbiaiinzinz at hotmail.com>  2008-08-05 01:22:49 MDT ---
You don't get it, there is no source code particular, what matters is the
config file that fails to load when you try to access any settings values from
there.

Steps to reproduce: create a project in visual studio, open up settings tab,
add some rectangle type data, put default value as empty rectangle (0,0,0,0).
Make the code access the data.

Rectangle test = Properties.Settings.Bounds;//or whatever name your rectangle
data has

And when getting the value of Bounds, above exception is thrown (for me at
least).
And not just the Bounds value, but same exception is thrown when accessing any
Properties.Settings.* value, because the loading of xml fails always.

My idea is that it could have somthing to do with localization perhaps. Or that
mono code expects the data to be stored as 0; 0; 0; 0 instead of 0, 0, 0, 0
that .NET put there.

Any more ideas ?


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list