, string webConfigPath) {     string directory = System.IO.Path.GetDirectoryName(webConfigPath);     VirtualDirectoryMapping vdm = new VirtualDirectoryMapping(directory, true);     WebConfigurationFileMap wcfm = new WebConfigurationFileMap();     wcfm.VirtualDirectories.Add("/", vdm);     System.Configuration.Configuration webConfig = System.Web.Configuration.WebConfigurationManager.OpenMappedWebConfiguration(wcfm, "/");     