Load Current Assembly into different AppDomain

前端 未结 6 1979
春和景丽
春和景丽 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:31

    According to http://msdn.microsoft.com/en-us/library/aehss7y0.aspx the behaviour of AppDomain.CreateDomain has changed with .NET4 and you should use http://msdn.microsoft.com/en-us/library/ms130766.aspx and setup Evidence and grants "manually"...

提交回复
热议问题