Code Review: assemblydeps


#1

tfpt review “/shelveset:assemblydeps;REDMOND\tomat”

Implements loading of assembly dependencies. The approach is similer
to IronPython’s one: hooking AssemblyResolve event and searching for
assemblies in load paths. It has the same deficiencies: if there are
multiple versions of assemblies in different paths and multiple dynamic
languages are loaded into the AppDomain they might step on each other
and load wrong assemblies. Unfortunately we can’t do anything about that
until CLR4.

Tomas


#2

Does this work at all in Silverlight?


#3

No, the event subscribing method (AppDomain::add_AssemblyResolve) is
SecurityCritical for some reason.

Tomas