Mono in Ubuntu

  1. My Environment
    1. All Partition is NTFS
    2. install PQMagic to get free spaces,and I take a 700M FAT32 Partition to save Ubuntu ISO
  2. Install Ubuntu
    1. Download Ubuntu 5.10 ISO
    2. Copy Iso into a FAT\FAT32 Partition root
    3. 如何在Windows NT/2000/XP上安装Ubuntu
  3. Install Mono
    1. Download Mono 1.1.13.2_0 Installer
    2. Install mono (installer instructions)
    3. sudo ./mono-1.1.13.2_0-installer.bin
  4. Run MonoDevelop
    1. open a console
    2. input monodevelop
  5. Run Windows Forms Application
    1. look DllNotFoundException
    2. open a console
    3. sudo ldconfig -f /etc/ld.so.conf
    4. sudo gedit /etc/ld.so.conf
    5. add a line:/opt/mono-1.1.13.2/lib
    6. sudo ldconfig
    7. open monodevelop
    8. create a boo project
    9. edit references,add System.Windows.Forms
    10. add a new boo code file
    11. input below code:
    12. import System.Windows.Forms
      f=Form()
      f.Text="MyForm"
      Application.Run(f)
    13. run
  6. now you run a Windows.Forms application on mono in ubuntu
posted @ 2006-02-22 13:18  朱永光  阅读(1527)  评论(0编辑  收藏  举报