[Mono-dev] Running under the Mono 2.0 Profile
meebey at meebey.net
Mon Nov 27 06:49:40 EST 2006
On Sun, 2006-11-26 at 11:59 -0800, Charlie Poole wrote:
> Hi All,
> At the Mono meeting, we discussed the need for a way to run code
> under the 2.0 profile for testing purposes, even if it was built
> with the 1.0 profile.
> Has anything happened on this?
> Possible options:
> 1) A switch on mono.exe
> 2) Use of an environment variable
> 3) ???
There exists a way that I use for debian packaging, it's a manifest file
for the application which tells the runtime to use the 2.0 profile, it
looks like this:
<supportedRuntime version="v2.0.50727" />
I use this to force the boo compiler for example to link the resulting
assemblies against 2.0 instead of 1.0, I created boo2.exe.config and
symlinked boo2.exe to boo.exe
This way the normal packaging can stay 1.0, while 2.0 support is added
using this "wrapper".
This feature is supported by MS .NET and Mono.
Mirco 'meebey' Bauer
-----BEGIN GEEK CODE BLOCK-----
GIT d s-:+ a-- C++ UL++++$ P L++$>+++$ E- W+++$ N o? K- w++>! O---- M-
PE+ Y- PGP++ t 5+ X++ R tv+ b+ DI? D+ G>++ e h! r->++ y?
------END GEEK CODE BLOCK------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 481 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20061127/5d164238/attachment.bin
More information about the Mono-devel-list