Mono in Ubuntu

本文介绍如何在Windows NT/2000/XP系统中安装Ubuntu,并使用Mono进行Windows Forms应用开发的过程。包括安装PQMagic获取空闲空间、安装Ubuntu ISO文件、配置Mono运行环境等步骤。
  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

转载于:https://www.cnblogs.com/redmoon/archive/2006/02/22/335414.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值