[Mono-dev] Dependencies between assemblies

Miguel de Icaza miguel at novell.com
Wed Apr 16 17:23:55 EDT 2008


>    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

So we could link to these directly.   Is this a bad idea?


More information about the Mono-devel-list mailing list