[Mono-list] targeting and running a specific .Net version
Ben Aurel
ben.aurel at gmail.com
Wed May 7 18:19:16 EDT 2008
hi
when I look under mono/lib/mono/ I see 4 different versions:
1.0 2.0 2.1 3.5
I assume those version numbers are equivalent to the .net version
numbers. What do I have to do if I want to compile for a specific and
run a specific library version?
1.) building for a specific .net version with "Xcs":
Is this the correct and only way to specify the version?
# mcs => 1.1 runtime.
# gmcs => 2.0 runtime.
# smcs => 2.1 runtime,
2.) running with a specific version with mono:
how is this done?
with the --runtime parameter?
compiling for and running with 2.0:
---------------------------------------------
$ gmcs WriteFileTest.cs
$ mono --runtime=2.0 WriteFileTest.exe
WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v1.1.4322
----------
Somethings seems to be wrong here...
Thanks in advance for your help
BEn
More information about the Mono-list
mailing list