M
Michael Debus
Hi, I try to read a value from app.config file using this code:
string
s=System.Configuration.ConfigurationManager.AppSettings["server"].ToString();
I got the compiler error:
Error 1 The type or namespace name 'ConfigurationManager' does not exist in
the namespace 'System.Configuration' (are you missing an assembly
reference?) .
A reference to System.Configuration.dll is added to the project.
My System.Configuration.dll has Version 2.0.50215.44. I there a newer
version ?
Thanks
Michael
string
s=System.Configuration.ConfigurationManager.AppSettings["server"].ToString();
I got the compiler error:
Error 1 The type or namespace name 'ConfigurationManager' does not exist in
the namespace 'System.Configuration' (are you missing an assembly
reference?) .
A reference to System.Configuration.dll is added to the project.
My System.Configuration.dll has Version 2.0.50215.44. I there a newer
version ?
Thanks
Michael