İ am sorry it is too classic problem loading dll. But i can not solve this basic problem: i have a plugins file path i want to load these assembly into new domain but i can not do this. Firstly; it is a web application my code below: thanks your help :
     foreach (var filePath in arryFiles)
                {
                    Assembly asm = Assembly.LoadFile(filePath.ToString());
                    AppDomainSetup domainSetup = new AppDomainSetup();
                    domainSetup.ApplicationBase = AppDomain.CurrentDomain.BaseDirectory;
                    domainSetup.DisallowBindingRedirects = false;
                    domainSetup.DisallowCodeDownload = true;
                    domainSetup.LoaderOptimization = LoaderOptimization.SingleDomain;
                    domainSetup.ConfigurationFile = AppDomain.CurrentDomain.SetupInformation.ConfigurationFile;
                    ApplicationHost = AppDomain.CreateDomain("Ops.Mgr.Service", null, domainSetup);
                    // how to load into domain my assembly...
                }
Thanks your helps...
 
     
     
    