【发布时间】:2014-11-12 23:42:48
【问题描述】:
我刚刚在 Mac OSX 上安装了 Xamarin Monodevelop,我创建了一个 GTK# 项目,其中我有一个非常基本的窗口,我什至没有接触过。这是它在Build(); 上给我的错误
Error CS0103: The name 'Build' does not exist in the current context
using System;
using Gtk;
public partial class MainWindow: Gtk.Window
{
public MainWindow () : base (Gtk.WindowType.Toplevel)
{
Build ();
}
protected void OnDeleteEvent (object sender, DeleteEventArgs a)
{
Application.Quit ();
a.RetVal = true;
}
}
【问题讨论】:
标签: macos xamarin monodevelop gtk#