mail-archives/mono-bugs/2010-October/105244.html

192 строки
4.8 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 648403] New: SplitContainer does not implement ISupportInitialize
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20648403%5D%20New%3A%20SplitContainer%20does%20not%20implement%0A%20ISupportInitialize&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="105300.html">
<LINK REL="Next" HREF="105382.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 648403] New: SplitContainer does not implement ISupportInitialize</H1>
<B>bugzilla_noreply at novell.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20648403%5D%20New%3A%20SplitContainer%20does%20not%20implement%0A%20ISupportInitialize&In-Reply-To="
TITLE="[Mono-bugs] [Bug 648403] New: SplitContainer does not implement ISupportInitialize">bugzilla_noreply at novell.com
</A><BR>
<I>Thu Oct 21 13:23:37 EDT 2010</I>
<P><UL>
<LI>Previous message: <A HREF="105300.html">[Mono-bugs] [Bug 648391] TypeBuilder.GetConstructor does not check ctor argument
</A></li>
<LI>Next message: <A HREF="105382.html">[Mono-bugs] [Bug 648403] SplitContainer does not implement ISupportInitialize
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#105244">[ date ]</a>
<a href="thread.html#105244">[ thread ]</a>
<a href="subject.html#105244">[ subject ]</a>
<a href="author.html#105244">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>
<A HREF="https://bugzilla.novell.com/show_bug.cgi?id=648403">https://bugzilla.novell.com/show_bug.cgi?id=648403</A>
<A HREF="https://bugzilla.novell.com/show_bug.cgi?id=648403#c0">https://bugzilla.novell.com/show_bug.cgi?id=648403#c0</A>
Summary: SplitContainer does not implement ISupportInitialize
Classification: Mono
Product: Mono: Class Libraries
Version: 2.8.x
Platform: VMWare
OS/Version: Ubuntu
Status: NEW
Severity: Major
Priority: P5 - None
Component: Windows.Forms
AssignedTo: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">justin.mccarty at galaxyglobal.com</A>
QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
Found By: ---
Blocker: Yes
Description of Problem:
The splitcontainer class implement in Mono 2.8 does not implement the
System.ComponentModel.ISupportInitialize interface as defined by .Net 4.0.
Applications that contain a splitcontainer and use Generated code for visual
studio via the Form Editor generates a &quot;System.InvalidCastException: Cannot
cast from source type to destination type.&quot; when run.
Steps to reproduce the problem:
1. Create a new form containing a SplitContainer
2. Compile the code through Visual Studio 2010 targeting .Net 4.0 Client
Profile
3. Run the application on Windows (works)
4. Run the application on Ubuntu using &quot;mono &lt;applicationName&gt;&quot;
Actual Results:
Unhandled Exception is thrown.
Expected Results:
New Form displayed on screen.
How often does this happen?
Everytime.
Additional Information:
This invalid cast is not caught or warned even when using MonoDevelope to
compile the application. Running mono with MONO_LOG_LEVEL=debug does not
display a missing dll and displays that the 4.0 version of
System.Windows.Forms.dll is loaded
--
Configure bugmail: <A HREF="https://bugzilla.novell.com/userprefs.cgi?tab=email">https://bugzilla.novell.com/userprefs.cgi?tab=email</A>
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="105300.html">[Mono-bugs] [Bug 648391] TypeBuilder.GetConstructor does not check ctor argument
</A></li>
<LI>Next message: <A HREF="105382.html">[Mono-bugs] [Bug 648403] SplitContainer does not implement ISupportInitialize
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#105244">[ date ]</a>
<a href="thread.html#105244">[ thread ]</a>
<a href="subject.html#105244">[ subject ]</a>
<a href="author.html#105244">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>