http://bugzilla.novell.com/show_bug.cgi?id=538037
User [email protected] added comment http://bugzilla.novell.com/show_bug.cgi?id=538037#c537131 Summary: ISelectionService only available after IDesignerHost.CreateComponent Classification: Mono Product: Mono: Class Libraries Version: 2.4.x Platform: x86 OS/Version: Windows XP Status: NEW Severity: Normal Priority: P5 - None Component: System AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Created an attachment (id=317590) --> (http://bugzilla.novell.com/attachment.cgi?id=317590) Unnamed.cs User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 4.0.20506) In the attached testcase, when requesting the ISelectionService (and maybe others) from IServiceContainer it fails if IDesignerHost hasn't created a root component. This is easy to circumvent, but not compatible with MS.Net (and took me some time to find out). Reproducible: Always Steps to Reproduce: 1. Compile and run attached testcase 2. 3. Actual Results: Exception when trying to access ISelectionService. Expected Results: Should be accessible from the beginning. I used Mono 2.4.2.3 and the given Patch for #537131 -- Configure bugmail: http://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. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
