ConfigurationManager is not recognized.

Hi All,

I am using VS2005 Beta 2. According to the document, the
ConfigurationManager.AppSettings replaces the
ConfigurationSettings.AppSettings. In fact, I got the
compile warning that ConfigurationSettings is obsoleted
and will be removed on the next release.

I changed my source to use ConfigurationManager instead.
But the compiler does not recognize ConfigurationManager
and gives me the complier error.

What is going on? Something wrong with the installation
again?

DQ

[544 byte] By [DQ] at [2008-1-31]
# 1
I'm having the same problem
NeilG at 2007-8-21 > top of Msdn Tech,Visual C#,Visual C# Language...
# 2
Found the problem. You need to add a reference to System.Configuration
NeilG at 2007-8-21 > top of Msdn Tech,Visual C#,Visual C# Language...
# 3
That's it. So the "Using System.Configuration" is not good enough.

Thanks Neil.

DN

DavidN. at 2007-8-21 > top of Msdn Tech,Visual C#,Visual C# Language...
# 4
You have to use the statement "using System.Configuration" AND you have to add the "reference" System.configuration from the .Net tab from the dialog box which permits this (assembly not default added).

JM.

jmp0658 at 2007-8-21 > top of Msdn Tech,Visual C#,Visual C# Language...