[Mono-dev] Recent C# compiler changes

Justin Bailey jgbailey at gmail.com
Fri Feb 4 16:44:11 EST 2011

I'm having trouble building today's tarball (20110204). 'mod' fails to build:

  make[8]: Entering directory `/xxx/home/baileyj/mono-20110204/mcs/tools/mod'
  MCS     [net_4_0] mod.exe
  error CS0006: Metadata file `./../../class/lib/net_2_0/monodoc.dll'
could not be found
  Compilation failed: 1 error(s), 0 warnings

Could it be related to the new SDK flag? monodoc.dll does not show up
under any directory after running make.

On Thu, Feb 3, 2011 at 4:48 AM, Marek Safar <marek.safar at gmail.com> wrote:
> Hello,
> In the recent weeks I have made several changes to how Mono C# compiler
> is build and works. With the current master version we no longer use and
> build System.Reflection based C# compilers (gmcs.exe, smcs.exe,
> dmcs.exe). The new C# compiler (called mcs.exe) is based on
> IKVM.Reflection which allows us to build mscorlib independent version of
> C# compiler. The compiler scripts (gmcs, dmcs) are still working just
> internally call different program.
> A new compiler option has been introduced called "sdk" with 2 values at
> the moment (2, 4). It allows to build against predefined framework
> version without manually specifying mscorlib location when compiling
> directly using mcs compiler. The default value is 4.
> On top of that mcs.exe is now .net 4 application which means you need to
> install mono including .net 4.0 support to be able to compile any C#
> program.
> All changes apply to mono master only and will be part of the following
> Mono's release after 2.10.
> Marek
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list

More information about the Mono-devel-list mailing list