mono在windows上运行

mono在windows上运行,mono,window,Mono,Window,mono 3.2 如何在windows中运行简单的hello表单。当我运行“mono”命令时,它会给出以下错误。我已经修复了mono安装文件夹中的.config文件 Unhandled Exception: System.NotImplementedException: The requested feature is not implemented. at System.Runtime.InteropServices.Marshal.ReadInt16 (System.Object pt

mono 3.2

如何在windows中运行简单的hello表单。当我运行“mono”命令时,它会给出以下错误。我已经修复了mono安装文件夹中的.config文件

Unhandled Exception:
System.NotImplementedException: The requested feature is not implemented.

  at System.Runtime.InteropServices.Marshal.ReadInt16 (System.Object ptr, Int32 ofs) [0x00000] in <filename unknown>:0 

  at System.Drawing.Font.FromLogFont (System.Object lf, IntPtr hdc) [0x00000] in <filename unknown>:0 

  at System.Drawing.Font.FromHfont (IntPtr hfont) [0x00000] in <filename unknown>:0 

  at System.Drawing.SystemFonts.get_DefaultFont () [0x00000] in <filename unknown>:0 

  at System.Windows.Forms.Theme.get_DefaultFont () [0x00000] in <filename unknown>:0 

  at System.Windows.Forms.Control.get_DefaultFont () [0x00000] in <filename unknown>:0 

  at System.Windows.Forms.Control.get_Font () [0x00000] in <filename unknown>:0 

  at System.Windows.Forms.Form..ctor () [0x00000] in <filename unknown>:0 

  at hello.Form1..ctor () [0x00000] in <filename unknown>:0 

  at (wrapper remoting-invoke-with-check) hello.Form1:.ctor ()

  at hello.Program.Main () [0x00000] in <filename unknown>:0 

[ERROR] FATAL UNHANDLED EXCEPTION: System.NotImplementedException: The requested feature is not implemented.

  at System.Runtime.InteropServices.Marshal.ReadInt16 (System.Object ptr, Int32 ofs) 

[0x00000] in <filename unknown>:0 

  at System.Drawing.Font.FromLogFont (System.Object lf, IntPtr hdc) [0x00000] in <filename unknown>:0 

  at System.Drawing.Font.FromHfont (IntPtr hfont) [0x00000] in <filename unknown>:0 

  at System.Drawing.SystemFonts.get_DefaultFont () [0x00000] in <filename unknown>:0 

  at System.Windows.Forms.Theme.get_DefaultFont () [0x00000] in <filename unknown>:0 

  at System.Windows.Forms.Control.get_DefaultFont () [0x00000] in <filename unknown>:0 

  at System.Windows.Forms.Control.get_Font () [0x00000] in <filename unknown>:0 

  at System.Windows.Forms.Form..ctor () [0x00000] in <filename unknown>:0 

  at hello.Form1..ctor () [0x00000] in <filename unknown>:0 

  at (wrapper remoting-invoke-with-check) hello.Form1:.ctor ()

  at hello.Program.Main () [0x00000] in <filename unknown>:0 
未处理的异常:
System.NotImplementedException:请求的功能未实现。
在System.Runtime.InteropServices.Marshal.ReadInt16(System.Object ptr,Int32 ofs)[0x00000]中:0
在System.Drawing.Font.FromLogFont(System.Object lf,IntPtr hdc)[0x00000]中:0
位于System.Drawing.Font.FromHfont(IntPtr hfont)[0x00000]中:0
在System.Drawing.SystemFonts.get_DefaultFont()[0x00000]中:0
在System.Windows.Forms.Theme.get_DefaultFont()[0x00000]中:0
在System.Windows.Forms.Control.get_DefaultFont()[0x00000]中:0
在System.Windows.Forms.Control.get_Font()[0x00000]中:0
位于:0中的System.Windows.Forms.Form..ctor()[0x00000]处
在hello.Form1..ctor()[0x00000]中:0
在(带检查的包装器远程处理调用)hello.Form1:.ctor()
位于hello.Program.Main()[0x00000]中:0
[错误]致命的未处理异常:System.NotImplementedException:请求的功能未实现。
在System.Runtime.InteropServices.Marshall.ReadInt16(System.Object ptr,Int32 ofs)中
[0x00000]英寸:0
在System.Drawing.Font.FromLogFont(System.Object lf,IntPtr hdc)[0x00000]中:0
位于System.Drawing.Font.FromHfont(IntPtr hfont)[0x00000]中:0
在System.Drawing.SystemFonts.get_DefaultFont()[0x00000]中:0
在System.Windows.Forms.Theme.get_DefaultFont()[0x00000]中:0
在System.Windows.Forms.Control.get_DefaultFont()[0x00000]中:0
在System.Windows.Forms.Control.get_Font()[0x00000]中:0
位于:0中的System.Windows.Forms.Form..ctor()[0x00000]处
在hello.Form1..ctor()[0x00000]中:0
在(带检查的包装器远程处理调用)hello.Form1:.ctor()
位于hello.Program.Main()[0x00000]中:0

在winforms和.net framework 3.5中,这是一个简单的表单,为什么windows需要mono?Mono最大的优点是能够在windows之外使用.NET是的,但我想在windows机器上进行编码和测试