Hi All,

Before I can use code form an assembly I have to reference it from your
code.
Now, if the loader loads the main assembly, it does a search for the
referenced assemblies too, possibly ending with a failure because one or
more assemblies could not be found.

Is it possible to do a "weak reference" (not a weak reference in GC-terms!!)
to the needed assemblies, so that the loader does not complain if those
assemblies where not found?
>From your code you could easily check if the needed assembly was loaded, and
if not, take a different codepath preventing use of the not loaded assembly.

Thanx,
Peter van der Weerd

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to