[Mono-list] Dynamic objects?
douglas.linder at gmail.com
Thu Jun 16 02:47:55 EDT 2011
I can compile a file using dynamic objects like this:
dmcs /debug+ /warn:4 ./dynamic.cs /out:a.out
However, when I run it get this error:
WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v1.1.4322
The assembly mscorlib.dll was not found or could not be loaded.
It should have been installed in the `/usr/lib/mono/1.0/mscorlib.dll'
I'm running 2.10 and I've got it installed in /usr/local/lib....
but I don't have a 1.0 directory at all, only 2.0, 3.5 and 4.0 in
I thought maybe I should be using mcs, not dmcs, but I can't get that to
./dynamic.cs(2,14): error CS0234: The type or namespace name `Dynamic' does
not exist in the namespace `System'. Are you missing an assembly reference?
./dynamic.cs(14,40): error CS0246: The type or namespace name
`InvokeMemberBinder' could not be found. Are you missing a using directive
or an assembly reference?
What compile flags should I be using to target the 4.0 runtime?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list