public ClientTests() { #if PORTABLE var appSettings = new System.Configuration.AppSettingsReader(); _storeLocation = appSettings.GetValue("BrightstarDB.StoreLocation", typeof (string)) as string; #else var appSettings = System.Configuration.ConfigurationManager.AppSettings; _storeLocation = appSettings.Get("BrightstarDB.StoreLocation"); #endif }