Reputation: 6783
my app.config file has 6 key-value pairs.
return
System.Configuration
.ConfigurationManager.AppSettings.Get("FTPDirectory").ToString();
What could be the possible reason?
Upvotes: 0
Views: 1333
Reputation: 444
Are you recompiling between changes to the app.config? msbuild will copy your app.config to the output folder as .exe.config, for example.
Upvotes: 3