Custom type resolution

61 views Asked by At

I have assembly A which has a reference to type T in another assembly B. But at runtime this assembly doesn't have that type, so I get TypeLoadException.

Is there any way to load T from my assembly without (!) recompilation of A or B?

Runtime doesn't call AppDomain.AssemblyResolve nor AppDomain.TypeResolve for such case.
I'm searching for managed solution (any runtime flavor) and without IL rewrite.

Note: this is not X Y problem.

0

There are 0 answers