I just can't get Visual Studio 2005 to find the System.Configuration.ConfigurationManager class. Here is the code:
using System.Configuration;
...
x = ConfigurationSettings.AppSettings["MySetting"]
x = System.Configuration.ConfigurationManager.AppSettings["MySetting"]
I absolutely, positively do has a link to System.Configuration in the project and is definitely in the right project . The DLL is version 2.0.0.0 and the execution version 2.0.50727 is exactly the same as everyone else. I tried to remove the link and re-add it. It is strange that when it is displayed in the project’s “Links” folder, it appears as “System.configuration” - with a lowercase “c”.
Visual Studio System.Configuration.ConfigurationSettings - , . -, WebControl.
, ?