System.Configuration.ConfigurationManager Not Found!

I'm developing a basic application, and I'm saving the connection string in the app.conf. when I'm compiling i get this warning....

Warning 1 'System.Configuration.ConfigurationSettings.AppSettings' is obsolete: 'This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings'

but when i try to use the System.Configuration.ConfigurationManager it is not found! so what can be the problem did microsoft forgot to add the class on the framework release it is specified everywhere but in the actual assembly.



Answer this question

System.Configuration.ConfigurationManager Not Found!

  • Jeff Bogdan

    i have the same problem, i try to reinstall but i have so many app based on 2.0 that i have to uninstall everyone first.

    I work in Peru, so i have the spaninsh LangPack on top NET 2.0 Framework. & VS2005SP1



  • xycos

    Cesar,

    if you cannot unninstall, try reparing the instalation, it worked for me on another environment where i couldn't do an uninstall.

    I also have Spanish Language Pack installed. :)


  • Jeff Stephens

    did you add a reference to System.Configuration

  • Uriel55587

    Thank you guys, I had the reference, and it wasn't showing, so I downloaded and reinstalled the framework, it is working now.


  • jalperin

    As Blar Allen Stark siad, you probelly don't have the System.Configuration.dll in your references.

    You can do this in Project->Add Reference..., now you will see a popup where you can selected the System.Confiration.dll.


  • System.Configuration.ConfigurationManager Not Found!