[Mono-dev] Repeat builds of core assemblies
"Andrés G. Aragoneses"
knocte at gmail.com
Wed Apr 23 00:16:58 UTC 2014
Hey Miguel,
On 22/04/14 21:53, Miguel de Icaza wrote:
> Hey guys,
>
> The problem is that System, System.XML and System.Configuration are each
> defined in terms of the other assemblies. So we gradually bring up
> each one of those assemblies up by first compiling a stub System, which
> we use to build System.XML and System.Configuration. Then we rebuild
> System, this time referencing System.XML and System.Configuration so we
> can take a dependency on them, and so on.
How about if we simplify this, by using the following strategy:
- Move the interdependent types of those assemblies to corlib.
- Mark them as internal.
- Add InternalsVisibleTo for those assemblies towards mscorlib.
- Use type forwarders to bring those types back from mscorlib to the
correct places.
This way the build would be much simpler, without dependency cycles.
HTH,
Andres
--
More information about the Mono-devel-list
mailing list