In a VS2005 C# project I have added a reference to System.configuration.
In the object browser, I can see the System.Configuration.ConfigurationManager.
In Intellisense System.Configuration only has the old ConfigurationSettings, and not ConfigurationManager.
My code
System.Configuration.ConfigurationManager.AppSettings[“MySetting”]
is highlighted as a syntax error and does not compile.
In a different project, the exact same setup works just fine… any clues as to what is going on?
urgh – PICNIC error. Added ref to the wrong project in the solution…