[Mono-dev] Resolving dependencies while compiling

Robert Jordan robertj at gmx.net
Wed May 20 13:08:47 EDT 2009


Rafael Teixeira wrote:
> In pratice I've noted that even VS.NET/CSC get confused about such
> references vs visibility issues and I need to add some more references from
> the lower tiers,meaning duplicated libs in each subproject folder.

This occurs when you add a reference to assembly B that exposes a
visible subclass of a type defined by an unreferenced assembly A:

A:

public Foo {}

B:

public Bar : Foo {}

C:

class Test {
	Bar b; <- demands a reference to A.
}

Robert



More information about the Mono-devel-list mailing list