To load web.config from individual plugin, please follow below steps,
#, Get the plugin folder path at the BundleActivator;
#, Load web.config file like this,
System.Configuration.ConfigurationFileMap fileMap = new ConfigurationFileMap(strConfigPath); //Path to your config file
System.Configuration.Configuration configuration = System.Configuration.ConfigurationManager.OpenMappedMachineConfiguration(fileMap);

Last edited Jun 18, 2015 at 3:36 AM by JoeyZhao, version 1

Comments

No comments yet.