c# - Dynamic Load of a DLL after ILMerge -


in project, dynamically load .dll based on objects settings. prior ilmerge, worked fine. used ilmerge , created 1 .dll, load fails. how dynamically load .dll after ilmerged? using vs2008 , c#.

dlls: common.dll, commonmedical.dll

new dll: dmcommon.dll

current code fails load .dll:
asm = assembly.loadfrom("commonmedical.dll");

what doing wrong? tried .load, , not see issues name space because works without ilmerging. in advance,

craig

the obvious answer, change code to: asm = assembly.loadfrom("dmcommon.dll");

you've created new merged assembly file , you're using loadfrom loads using filename.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -