[Mono-dev] [mono-packagers] mono-find-(provides|requires)

Jonathan Pryor jonpryor at vt.edu
Fri Dec 12 16:10:49 EST 2008


On Fri, 2008-12-12 at 13:49 -0700, Andrew Jorgensen wrote:
> Trouble is that it's not easy to determine if a required assembly will
> be found in the gac or in some other location.

We might be able to make a simplifying (if potentially invalid)
assumption here: if the `monodis --assemblyref` output doesn't include a
Public Key, then the assembly is a private assembly, and thus the full
path should be included.

Of course, then we need to determine which path should be used, as the
executable could do funny things with AppDomain loading & adding
additional directories to probe for assemblies, but it would likely be a
fair first-pass to just assume that if the required assembly doesn't
have a public key then it must exist in the same directory as the
assembly being processed...

BTW, where is the source for mono-find-provides and mono-find-requires?
The only versions I see are shell scripts that do odd things
with /usr/share/doc and don't seem to do anything but sit there when I
execute them...

 - Jon




More information about the Mono-devel-list mailing list