DirectoryInfo directoryInfo = new DirectoryInfo(bpath); var modules = directoryInfo.GetFiles("ModuleName.dll"); Assembly assembly = Assembly.LoadFrom(modules[0].FullName); AppDomain.CurrentDomain.Load(assembly.GetName()); Kernel.Load(Assembly.LoadFile(modules[0].FullName)); Kernel.Load(XMLFile);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)