Debian 5.0(Lenny)下安裝Mono 2.4和MonoDevelop 2.0

bob_zsj發表於2009-04-18

作業系統:Debian 5.0(Lenny)

桌面系統:LXDE

作者:dingbo_zsj@yahoo.com.cn

 

1.安裝Mono 2.4

 

http://ftp.novell.com/pub/mono/sources-stable/下載libgdiplus-2.4.tar.bz2mono-2.4.tar.bz2,都解壓出來.

 

先轉到解壓出來的libgdiplus-xx目錄下,執行:

./configure

make

sudo make install

 

然後轉到mono-xx目錄下,執行:

./configure --with-libgdiplus=yes
make
make install

可能缺少的包:build-essential swig autoconf gawk mono-common binfmt-support bison pkg-config libglib2.0-dev,使用sudo apt-get install來安裝.

 

2.安裝MonoDevelop 2.0

 

http://ftp.novell.com/pub/mono/sources-stable/下載gtk-sharp-2.12.8.tar.bz2,mono-addins-0.4.zip,gnome-sharp-2.20.1.tar.bz2monodevelop-2.0.tar.bz2依次解壓安裝.安裝方法都是

./configure

make

sudo make install

安裝gnome-sharp時可能需要先安裝libgnomeprintui2.2-dev和libpanel-applet2-dev.

 

3.安裝WinForms Designer

 

sudo apt-get install subversion

svn co svn://anonsvn.mono-project.com/source/trunk/mwf-designer

cd mwf-designer

make

make run

cd build

mono mwf-designer.exe

 

4.其它

 

Mono WinForms:http://mono-project.com/WinForms

WinForms Designer:http://mono-project.com/WinForms_Designer

WinForms Example:http://mono-project.com/WinForms_Getting_Started_Guide

Mono ASP.NET:http://www.mono-project.com/ASP.NET

AspNetEdit:http://www.mono-project.com/AspNetEdit

 

說明:

Mono 2.4完整支援WinForms 2.0和ASP.NET 2.0.

MonoDevelop 2.0通過AspNetEdit支援ASP.NET視覺化開發,但不支援WinForms視覺化開發.WinForms Designer用於WinForms窗體設計.

沒有使用Windows原生程式碼的.NET中間程式碼可以使用"mono EXE檔案"的方式在Linux中直接執行.

用MonoDevelop開發WinForms專案時要在"引用"中手動新增程式集System.Drawing和System.Windows.Forms.

 

 

 

 

 

 

 

 

 

 

 

相關文章