Mono使用日志(1)
6月16日,Mono 1.1.8发布了.Mono 1.1.8 是Mono发展到现在的第八个版本.
从1.1.1到1.1.2 ……再一直到现在, Mono 1.1.x series 最终将会通往下一个稳定的版本:Mono1.2,期待这一里程碑的到来!不过1.1.8版本对于大多数开发者来说,已经足够稳定了
Mono官方网站上介绍1.1.8增加了以下新的特性:
Visual Studio solution to build Mono runtime natively on Windows. This is useful if you are embedding the Mono runtime into your application and want to debug and single step inside Mono.
The Mono Debugger is being released in sync for the first time with the Mono runtime. We need testers to try it out (the command line debugger is called `mdb').
Here a toplevel list of all things new for 1.1.8 MWF:
Harinath has been fine tuning our Regular Expressions class library to reduce allocations which translate into an increase in performance (about 10% on the output match). Regexp.Replace will now be O(number of $s in the replacement string) instead of O(length of replacement string). The
The 1024 limit on Socket.Select is gone, Mono will now use poll when available.
System.Web will consume less memory as well (Gonzalo).
Sebastien's progress in this release:
The new features allows NRobot 0.20 (http://home.gna.org/nrobot/) to "work" (as much as the permissions are currently present in the class libraries) on Mono 1.1.8 with a single modification (change the imperative assert in NRobot/Engine/GameArena.cs to a declarative assert).
Lluis completed various new controls for ASP.NET 2.x: ImageMap, Wizard, SiteMapDataSource and SiteMapPath.
Lluis added support for producing debugging information from Reflection.Emit. This means that all the Reflection-based compilers and VMs will be able to produce debugging information and have the Mono debugger step through the code.
mono-ikvm has been merged into mono-core. Should make it easier for people to get ikvm
mono-nunit is back with the nunit stuff. Needed for mono-tools
Jonathan Pryor has contributed this tool to assist developers that use P/Invoke.
mono-shlib-cop is a tool that inspects a managed assembly looking for erroneous or suspecious behavior of shared libraries.
The tool takes one or more assembly filenames, and inspects each assembly specified.
The errors checked for include:
It also checks if a program uses shared libraries that are part of a -devel package.
New on this release: late binding, decimal, named arguments, optiona byrefs,
The Mono.Unix namespace will be replacing the old Mono.Posix in Mono 1.2 and is still under development. In this release cleanups continued and a few new features are present.
Changes since the last release: Removed types: MapAttribute, IncludeAttribute, ErrorMarshal, ErrorMarshal.ErrorTranslator
Additions
Lots of documentation added
Cesar implemented access to local variables in nested functions in JScript.
There are plenty of bug fixes, performance and scalability improvements that are too detailed to list on the release notes.
下面说一下Mono的安装过程:
NO.1 Linux下:
下载安装包: http://go-mono.com/sources/mono-1.1/mono-1.1.8.tar.gz
----------------------------------------------------------
$ tar xzf mono-1.1.8.tar.gz
$ cd mono-1.1.8
$ ./configure
$ make
$ make install
----------------------------------------------------------
OK!
NO.2 Windows下:(2000及以上)
下载地址:http://www.go-mono.com/archive/1.1.8/windows/mono-1.1.8-gtksharp-1.9.5-win32-0.0.exe
下图为安装好后的Mono Command Prompt我的是1.1.7