Because not all classes used in the class that I want to create are serializable, I cannot deploy.
Is it possible?
var appdom = AppDomain.CreateDomain(amServiceable.GetType().ToString()); var objectHandle = appdom.CreateInstance(amServiceable.GetType().Assembly.FullName, amServiceable.GetType().FullName); var plugin = objectHandle.Unwrap() as IPlugin
source share