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

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top