[Mono-list] mcs for the 2.0 framework

Jonathan Pryor jonpryor at vt.edu
Thu Dec 6 12:05:58 EST 2007


On Thu, 2007-12-06 at 10:25 -0500, shawn vose wrote:
> what is the name of the command I would need to use to compile for the
> 2.0 framework? Would this also be the same for any code I have written
> that has some very simple LINQ in it?

Daniel Soto already mentioned using gmcs for the 2.0 framework.

For LINQ, you need to pass `-langversion:LINQ' as a compiler flag, e.g.:

	gmcs -langversion:LINQ your-linq-file.cs

 - Jon




More information about the Mono-list mailing list