Load Current Assembly into different AppDomain

前端 未结 6 1975
春和景丽
春和景丽 2020-12-28 22:14

I have created an AppDomain with a different base directory. However, I cannot seem to load the currently executing assembly into the other AppDomain without ha

6条回答
  •  时光取名叫无心
    2020-12-28 22:28

    If you need to load assembly yourself avoid loading from bytes... I'd recommend to use at least loading by full assembly path.

    In general to investigate problems with loading assemblies serach for "fusion log viewer" ( http://www.bing.com/search?q=fussion+log+viewer ) and use the tool to see where code tries to load assemblies from.

提交回复
热议问题