http://bugzilla.novell.com/show_bug.cgi?id=578445
http://bugzilla.novell.com/show_bug.cgi?id=578445#c0 Summary: MonoTouch defines the same class from XIB multiple times Classification: Mono Product: MonoTouch Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Tools AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- Steps: In Monodevelop 1- new solution, name, OK 2- double click MainWindow.xib in Interface Builder: 1- go to library->classes 2- rightclick UILabel -> new subclass... 3- type "MyLabel" 4- drag and drop MyLabel from list to window 3 times 5- save, close back in monodevelop: 1 - try to compile The mainwindow.xib.designer.cs contains 3 definitions for the same class: // Base type probably should be MonoTouch.UIKit.UILabel or subclass [MonoTouch.Foundation.Register("MyLabel")] public partial class MyLabel { } // Base type probably should be MonoTouch.UIKit.UILabel or subclass [MonoTouch.Foundation.Register("MyLabel")] public partial class MyLabel { } // Base type probably should be MonoTouch.UIKit.UILabel or subclass [MonoTouch.Foundation.Register("MyLabel")] public partial class MyLabel { } This is invalid C# code. -- 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
