Mono in Ubuntu

 转载自:魔法花园 - .NET版

  1. My Environment
  2. All Partition is NTFS
  3. install PQMagic to get free spaces,and I take a 700M FAT32 Partition to save Ubuntu ISO
  4. Install Ubuntu
  5. Download Ubuntu 5.10 ISO
  6. Copy Iso into a FAT/FAT32 Partition root
  7. 如何在Windows NT/2000/XP上安装Ubuntu
  8. Install Mono
  9. Download Mono 1.1.13.2_0 Installer
  10. Install mono (installer instructions)
  11. sudo ./mono-1.1.13.2_0-installer.bin
  12. Run MonoDevelop
  13. open a console
  14. input monodevelop
  15. Run Windows Forms Application
  16. look DllNotFoundException
  17. open a console
  18. sudo ldconfig -f /etc/ld.so.conf
  19. sudo gedit /etc/ld.so.conf
  20. add a line:/opt/mono-1.1.13.2/lib
  21. sudo ldconfig
  22. open monodevelop
  23. create a boo project
  24. edit references,add System.Windows.Forms
  25. add a new boo code file
  26. input below code:
  27. import System.Windows.Forms
    f=Form()
    f.Text="MyForm"
    Application.Run(f)
  28. run
  29. now you run a Windows.Forms application on mono in ubuntu
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值