[Mono-dev] DriveInfo implementation

Miguel de Icaza miguel at novell.com
Wed Dec 5 06:04:33 EST 2007


Hello Javier,

> Another possible problem with my modifications is that they could
> require building corlib.dll with a reference to Mono.Posix.dll. It's not
> the fact that it can lead to chicken-and-egg problems, I'm sure Mono's
> build systems can handle that, but the thing that bugs me is that, if
> nothing else in corlib uses Mono.Posix apart from this new code, the
> reference and everything using it should be inside an #if block so that
> a corlib build for Windows does not uselessly (though harmlessly, I
> hope) reference Mono.Posix.

Ah, but we should not be adding a dependency to Mono.Posix to mscorlib,
that is a no-go.

Robert Jordan's suggestion seems like the right one: this code should
likely be implemented in the io-layer.




More information about the Mono-devel-list mailing list