Obsolete function

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John

    Obsolete function

    Hi

    I am using ConfigurationSe ttings.AppSetti ngs.Get(key) in my app and I get a
    warning that it is obsolete but when I use
    System.Configur ation.Configura tionManager.App SettingsGet(key ) instead I get
    the error 'ConfigurationM anager' is not a member of 'Configuration' .

    What am I missing?

    Thanks

    Regards


  • Spam Catcher

    #2
    Re: Obsolete function

    "John" <John@nospam.in fovis.co.ukwrot e in
    news:OhpFN0PZIH A.1168@TK2MSFTN GP02.phx.gbl:
    I am using ConfigurationSe ttings.AppSetti ngs.Get(key) in my app and I
    get a warning that it is obsolete but when I use
    System.Configur ation.Configura tionManager.App SettingsGet(key ) instead
    I get the error 'ConfigurationM anager' is not a member of
    'Configuration' .
    You'll need to manually add a reference to System.Configur ation

    --
    spamhoneypot@ro gers.com (Do not e-mail)

    Comment

    Working...