System.Configuration.CofigurationSettings.AppSettings is obsolete. ANY SOLUTION?

R

Randy Smith

Hi ALL,
I am getting this strange warning message, and I can't seem to find any
solution for it.

'System.Configuration.CofigurationSettings.AppSettings is obsolete: it has
been replaced by
System.Configuration!System.Configuration.ConfigurationManager.AppSettings'
So, does anyone have a solution to this warning message?

TIA, Randy
 
M

Mark S. Milley, MCSD (BinarySwitch)

Hi Randy;

Use ConfigurationManager.AppSettings("<SettingName>")

Cheers,

-Mark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top