[Mono-dev] Dependencies between assemblies

Marek Safar marek.safar at seznam.cz
Wed Apr 16 17:55:51 EDT 2008


Hello,
>>    System.Web uses System.Drawing for drawing controls (iirc) and  
>> System.Windows.Forms because thats where the resource reader/writer  
>> reside.
>>     
>
> This is correct, what an ugly dependency to have there, its used by the
> on-the-flight resource compiler.   
>
> There is one option though, it seems that the code is fairly standalone,
> and we could include the source code under an internal namespace:
>
> gmcs -d:NET_2_0 System.Resources/ResXResourceReader.cs -r:System.Drawing
> System.Resources/ResXResourceWriter.cs System.Resources/ResXNullRef.cs
> System.Resources/ResXDataNode.cs  System.Resources/ResXFileRef.cs
>   
Why not reference them directly from where they are now. However, this 
will work only if there are no or very limited second level dependencies.

Marek


More information about the Mono-devel-list mailing list