[Mono-list] Finding out the required dependencies

Robert Jordan robertj at gmx.net
Sun Dec 9 13:57:41 EST 2007


Danny Waite wrote:
> Hi guys,
> 
> I'm running XSP2 in an embedded system when the disk space is sparse
> at best.  How do I find out what libraries my app is running and
> remove all the rest from the GAC?  Is there a quick and easy way to
> do this.  I tried removing the ones I 'know' I am not using like
> Windows.Forms but seems there are hidden references in the dependency
> chain.

System.Web actually depends on System.Windows.Forms.

You can find the dependencies using monop or monop2 (for the 2.0
profile):

monop2 --refs -r:System.Web

Robert



More information about the Mono-list mailing list