[Mono-list] Finding out the required dependencies

Alan McGovern alan.mcgovern at gmail.com
Sun Dec 9 14:53:51 EST 2007


If space is at a premium, you could use the linker to cut down on the size
of the all the libraries that you reference.

http://evain.net/blog/articles/2006/08/21/link-to-link

You'd probably be best talking to jb himself on the finer points on what the
linker can and cannot do, but it should be able to cut down on the size of
the libraries fairly significantly.

Alan.

On Dec 9, 2007 6:57 PM, Robert Jordan <robertj at gmx.net> wrote:

> 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
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20071209/06846b1a/attachment.html 


More information about the Mono-list mailing list