开发者

Monotouch 3.99: Missing Usings in designer files?

Monotouch 3.99.13

When I edit a XIB in Interface Builder, Monotouch fails to add all the Usings to the designer.cs files it generates. There are no partial clsses made.

Monotouch 3.99: Missing Usings in designer files?

Here's a code snip (notice no usings):

// ------------------------------------------------------------------------------
//  <autogenerated>
//      This code was generated by a tool.
//      Mono Runtime Version: 2.0.50727.1433
// 
//      Changes to this file may cause incorrect behavior and will be lost if 
//      the code is regenerated.
//  </autogenerated>
// ------------------------------------------------------------------------------

namespace General {


    // Base type probably should be MonoTouch.Foundat开发者_如何学运维ion.NSObject or subclass
    [MonoTouch.Foundation.Register("AppDelegateIPad")]
    public partial class AppDelegateIPad {

        private UIWindow __mt_window;

        #pragma warning disable 0169
        [MonoTouch.Foundation.Connect("window")]
        private UIWindow window {
            get {
                this.__mt_window = ((UIWindow)(this.GetNativeField("window")));
                return this.__mt_window;
            }
            set {
                this.__mt_window = value;
                this.SetNativeField("window", value);
            }
        }
    }
}


Someone has filed this as a bug in the latest MonoDevelop here. Is that you? As far as I can tell MonoDevelop has never generated using statements in designer files.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜