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

相关文章:

  • 2021-05-23
  • 2022-01-13
  • 2021-12-18
  • 2021-10-19
  • 2022-12-23
  • 2022-12-23
  • 2022-03-10
  • 2021-12-27
猜你喜欢
  • 2021-10-15
  • 2021-05-20
  • 2021-10-05
  • 2022-12-23
  • 2021-05-19
  • 2021-05-20
  • 2021-11-01
相关资源
相似解决方案