Recently, due to curiosity, I installed a Linux 6.0 with the red flag on my computer. I used mandriva before, but I really don't know much about Linux. I 've been working on Windows. NET development, a little tired, very early attention to mono, hope that one day it will develop the largest, or let me transfer to Linux. haha, Microsoft is really selfish. Why not use Linux. net Framework: First, I would like to explain how to execute shell commands in red-flag Linux to a friend who does not have much access to Linux. In Linux, open the terminal Next, we start to install 1. Install MongoDB 2.4 From http://ftp.novell.com/pub/mono/sources-stable/ Download libgdiplus-2.4.tar.bz2and mono-2.4.tar.bz2, and decompress them. First go to the extracted libgdiplus-2.4 directory, [Root @ localhost] # libgdiplus-2.4 CD Run: [Root @ localhost libgdiplus-2.4] #./configure [Root @ localhost libgdiplus-2.4] # Make [Root @ localhost libgdiplus-2.4] # sudo make install Run the "CD ../" command to return the root directory and go to the mono-2.4 directory, [Root @ localhost] # cd mono-2.4 Run: [Root @ localhost mono-2.4] #./configure -- With-libgdiplus = Yes [Root @ localhost mono-2.4] # Make [Root @ localhost mono-2.4] # make install Possible missing package: Build-essential swig Autoconf gawk mono-common binfmt-support bison PKG-config libglib2.0-Dev, use sudo apt-Get install to install. 2. Install monodevelop 2.0 From http://ftp.novell.com/pub/mono/sources-stable/ Download Gtk-sharp-2.12.8.tar.bz2, Mono-addins-0.4.zip, Gnome-sharp-2.20.1.tar.bz2 and Monodevelop-2.0.tar.bz2 Decompress and install the tool in sequence. The installation methods are as follows: ./Configure Make Sudo make install Install libgnomeprintui2.2-Dev and libpanel-applet2-dev first when installing gnome-sharp. 3. Install 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 Mwf-designer.exe mono 4. Others 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 Note: Mono 2.4 fully supports winforms 2.0 and ASP. NET 2.0. Monodevelop 2.0 supports ASP. NET visual development through aspnetedit, but does not support winforms visual development. winforms designer is used for winforms form design. The. NET intermediate code that does not use Windows Local code can be directly run in Linux using the "Mono EXE file" method. When developing a winforms project with monodevelop, you must manually add the assembly system. Drawing and system. Windows. forms. |