Because AddIn assemblies are loaded into the LoadFrom context, creating AppDomains in them that use an arbitrary ApplicationBase path does not work correctly. This class contains a static method that helps launching a static method on a type in a new AppDomain.
Наследование: System.MarshalByRefObject
        public static object LaunchInAppDomain(AppDomain domain, Type type, string methodName, params object[] arguments)
        {
            AppDomainLaunchHelper h = (AppDomainLaunchHelper)domain.CreateInstanceFromAndUnwrap(typeof(AppDomainLaunchHelper).Assembly.Location, typeof(AppDomainLaunchHelper).FullName);

            return(h.LaunchMethod(type.Assembly.Location, type.FullName, methodName, arguments));
        }