I have a mono 2.10.4 installation on linux and am trying to compile the dependent .NET C # 4 code base. I was able to compile in MonoDevelop, but should be able to do this from a command line / build tool.
performance:
gmcs -langversion:4 -target:library -out:foo.dll ... <sources>
produces the following error:
error CS1617: Invalid -langversion option `4'. It must be `ISO-1', `ISO-2', `3' or `Default'
gmcs --version compiler gmcs --version :
Mono C# compiler version 2.10.4.0
Further notes:
- ubuntu 11.04
- install in / opt / mono -2.10
- mono install first on the way
source share