[MonoDevelop] C# 4.0 Support
Dale Ragan
dale.ragan at sinesignal.com
Sat Feb 6 12:43:23 EST 2010
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.
Dale
> Hi,
> > OK, that was part of the problem. I figured since I have my default
> > solution, Edit -> Preferences -> Load/Save -> MSBuild (Visual Studio 2010)
> > and the default runtime set to Mono 2.7, that it would create the projects
> > with the runtime version of Mono/.NET 4.0. Instead, it was creating the
> > project with Mono/.NET 3.5.
> >
> > That fixed finding the namespace System.Dynamic, but now it can't find
> > System.Dynamic.DynamicObject. Running the dmcs command on the terminal
> > gives the same error:
> >
> > /opt/mono/bin/dmcs /noconfig
> > "/out:/home/dragan/Projects/Test/DynamicTest/bin/Debug/DynamicTest.exe"
> > "/r:System.dll" "/r:System.Dynamic.dll" /nologo /warn:4 /debug:+ /debug:full
> > /optimize- /codepage:utf8 /platform:x86 "/define:DEBUG"
> > /main:DynamicTest.MainClass /t:exe
> > "/home/dragan/Projects/Test/DynamicTest/Main.cs"
> > "/home/dragan/Projects/Test/DynamicTest/AssemblyInfo.cs"
> >
> You are missing System.Core and Microsoft.CSharp assembly references.
>
> Marek
More information about the Monodevelop-list
mailing list