[Mono-list] addmodule

Paolo Molaro lupus@ximian.com
Tue, 11 Jun 2002 18:01:42 +0200


On 06/10/02 Talbott Crowell wrote:
> Below is the source code which is designed to demonstrate
> that assemblies and namespaces have no relation to each
> other.  Each file compiles to a different module within
> the same assembly using Microsoft csc.  I can not get
> it to work with Mono.

mcs uses the System.Reflection.Emit interface to create the assemblies.
The problem is that the interface doesn't allow the separate creation of 
modules: all the modules need to be created dynamically.
We'll probably need to add a workaround for this issue in the mono
runtime.

> but that gave me errors because the file being generated
> from the mcs --target module command is a dll and I can't
> seem to assemble it with the file2 source.  If this is
> not possible with the mono compiler, is there an 
> al.exe (assembly linker) equivalent in Mono?

It's not yet written, but it's planned.

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better