Re: [Mono-list] Options of the project Mono for Net Framework 2.0

2011-12-01 Thread Stifu
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  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Options of the project Mono for Net Framework 2.0

2011-12-01 Thread Bojan Rajkovic
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  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Options of the project Mono for Net Framework 2.0

2011-12-01 Thread Ian Norton
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 +, 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  -  Mono-list@lists.ximian.com
  http://lists.ximian.com/mailman/listinfo/mono-list
 
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Options of the project Mono for Net Framework 2.0

2011-12-01 Thread Stifu
As others told you: Mono now supports .NET 4.0 by default.

Rather than trying to compile your project using .NET 2.0, it seems much
easier to me to upgrade your project to 4.0 instead, no?


tumanovalex wrote
 
 I  use MonoDevelop
 


--
View this message in context: 
http://mono.1490590.n4.nabble.com/Options-of-the-project-Mono-for-Net-Framework-2-0-tp4128665p4129697.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Options of the project Mono for Net Framework 2.0

2011-12-01 Thread Chorn Sokun
I compile monodevelop from source, one thing I notice when create new
project it refer to old version of Mono runtime.
I am new to monodevelop code base so I am not sure where I can change that
setting before I issue `make`  `make install` command.

Any advice are much appreciate.

~~~
Chorn Sokun
+855 12 222718

http://chornsokun.wordpress.com
http://twitter.com/csokun




On Fri, Dec 2, 2011 at 1:00 AM, Stifu st...@free.fr wrote:

 As others told you: Mono now supports .NET 4.0 by default.

 Rather than trying to compile your project using .NET 2.0, it seems much
 easier to me to upgrade your project to 4.0 instead, no?


 tumanovalex wrote
 
  I  use MonoDevelop
 


 --
 View this message in context:
 http://mono.1490590.n4.nabble.com/Options-of-the-project-Mono-for-Net-Framework-2-0-tp4128665p4129697.html
 Sent from the Mono - General mailing list archive at Nabble.com.
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list