.NET: Load two version of the same DLL

前端 未结 3 1689
我在风中等你
我在风中等你 2020-12-19 01:35

I need to load two versions of the same DLL in order to compare their outputs. I assume that I can use AppDomains for this, but I need some guidence.

3条回答
  •  天命终不由人
    2020-12-19 02:16

    Check out Activator.CreateInstance() on MSDN. Code samples within.

    http://msdn.microsoft.com/en-us/library/ms224132.aspx

提交回复
热议问题