Hi, i've reopen an old project make with monotouch.
Now I've update monotouch and Monodevelop (2.4.2),

The error is :
"AppDelegate does not contain a definition for "GetNativeField" and no 
extension method "GetNativeField" of type "....Delegate" could be found"

public partial class AppDelegate {

                        private MonoTouch.UIKit.UIWindow __mt_window;

                        private MonoTouch.UIKit.UINavigationController 
__mt_navigationController;

                        private MonoTouch.UIKit.UITableView 
__mt_activityTableView;
                        [MonoTouch.Foundation.Connect("window")]
                        private MonoTouch.UIKit.UIWindow window {
                                   get {
                                               this.__mt_window = 
((MonoTouch.UIKit.UIWindow)(this.GetNativeField("window")));
                                               return this.__mt_window;
                                   }
                                   set {
                                               this.__mt_window = value;
                                               this.SetNativeField("window", 
value);
                                   }
                        }

Thanks


_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to