I have an executing assembly, which needsload a specified assembly existed in a sub directory, just likes
executing assembly specified assembly (in a sub directory), i call it"subAssembly"
| |
|--------load assembly----------->|
| |
unfortunately, the specified assembly has a dependence of another assembly (i call it "DepAssembly") , which just exist in that sub directory, either. No same dependenced assembly exists in the root directory,
when I tried to invoke GetTypes methodof that "subAssembly", the CLR will throw an AssemblyLoadException, means it can not find the DepAssembly in the root directory.
I just do not want to copy the DepAssembly to the root directory, because the executing assembly has no any dependence of it, you guys got any idea for this?
Thanks so much in advance.
ps. I don't need install it into GAC either.