[MonoDevelop] C# 4.0 Support

Michael Hutchinson m.j.hutchinson at gmail.com
Sat Feb 6 16:40:13 EST 2010


On Sat, Feb 6, 2010 at 12:43 PM, Dale Ragan <dale.ragan at sinesignal.com> wrote:
> On Sat, 2010-02-06 at 09:45 +0000, Marek Safar wrote:
>
>> You are missing System.Core and Microsoft.CSharp assembly references.
>> Marek
>
> Thanks, that did the trick, my DynamicTest is compiling and working in
> MonoDevelop now.  I tried finding the System.Dynamic documentation in
> MonoDoc to figure out what other references were needed, but I couldn't
> find it.
>
> I'm coming from Visual Studio, still trying to get used to MonoDevelop
> and the differences.  It would be nice to have the new project dialog
> allow you to choose which runtime you are targeting when creating a
> project, like Visual Studio.
>
> One last question, how come my dmcs compile below worked without
> including any references?  It compiled and worked without any problems.
> I just want to understand the differences.

The mcs/gmcs/mcs/smcs/csc have default references brought in by the
default "response" file. MD uses /noconfig to disable this so that the
compiler only references the assemblies that MD passes to it. This
also makes sure the compiler options match the MD settings.

http://msdn.microsoft.com/en-us/library/8hww4s6c.aspx

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list