Or you can add a shell script in /usr/local/bin containing : #!/bin/sh
$0 /sdk:2 $@ And save it as "mcs" and/or "gmcs" On Thu, Dec 01, 2011 at 02:55:35PM +0000, Bojan Rajkovic wrote: > Ubuntu 11.10 ships a Mono that only supports 4.0. The compiler, libraries, > etc. are all 4.0 only in Ubuntu 11.10. If you need 2.0 support, you can try > compiling manually and using csc /sdk:2, but I don't guarantee it will work. > > ?Bojan > > On Dec 1, 2011, at 9:42 AM, Stifu wrote: > > > I guess we need more info. > > Did you use MonoDevelop, or tried to compile through command lines? > > > > > > tumanovalex wrote > >> > >> In Ubuntu 11.10 has established Mono from repository, has transferred > >> project Visual Studo 2008 for Net Framework 2.0 and has tried to compile > >> it. I receive an error "the compiler isn't found" though the compiler for > >> CLI 2 (mono-mcs) is established. Prompt how correctly to adjust, please, > >> the project that it was compiled. > > > > > > -- > > View this message in context: > > http://mono.1490590.n4.nabble.com/Options-of-the-project-Mono-for-Net-Framework-2-0-tp4128665p4128705.html > > Sent from the Mono - General mailing list archive at Nabble.com. > > _______________________________________________ > > Mono-list maillist - [email protected] > > http://lists.ximian.com/mailman/listinfo/mono-list > > _______________________________________________ > Mono-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
