[Mono-list] Some ideas for dotgnu.
Asier Llano Palacios
asierllano@infonegocio.com
Sun, 26 Jan 2003 21:37:45 +0100
I think that the current behaviour is the one that the csc provides,
and I think that it is the proper one.
You have to reference every type that you use in your source code
(you don't have to reference the assemblies that are used by the
assemblies you reference).
Asier Llano
Miguel de Icaza wrote:
>Hello,
>
>
>
>> It would be nice if whatever the libraries are called (assemblies?) had
>>dependency information of some sort; thus one could do simply:
>>
>> mcs -r gnome-sharp.dll foo.cs
>>
>> Instead of adding an unfeasibly verbose set of ~7 other libraries on
>>that link line. Is that reasonable / feasible ?
>>
>>
>
>Well, doing `-r gnome-sharp.dll', will implicitly link anything that
>gnome-sharp.dll depends on. But it will not "import" the types from the
>other assemblies, so they are "invisible" to the programmer, unless he
>references them.
>
>This is fixable though.
>
>Miguel
>_______________________________________________
>Mono-list maillist - Mono-list@lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-list
>
>
>