eZeeNow.com

it's your's

I can't access app.config from my web test plug in

I want to read the connection strings from my app.config of my Web Test Project but it never loads.

// Map the new configuration file.
ExeConfigurationFileMap configFileMap = new ExeConfigurationFileMap();
configFileMap.ExeConfigFilename =
   System.Reflection.Assembly.GetExecutingAssembly().ManifestModule.Name +".config";

// Get the mapped configuration file
var config = ConfigurationManager.OpenMappedExeConfiguration(
   configFileMap, ConfigurationUserLevel.None);

Loading