R
robertino
Hi All,
(VS 2005 Pro, Win XP Pro)
I'm trying to read some app settings from my app.config file (normal
Win app), have included the System.Configuration namespace in my app,
but when I try to access the ConfigurationManager class, I find no
mention of it at all!
According to the online help, ConfigurationManager is the preferred way
to go to access the appSettings information ("all other methods are
deprecated"). So, when I type "System.Configuration.", the dropdown
should show me a whole bunch of stuff belonging to this namespace,
including some 27 beginning with "Configuration", ie "Configuration,
ConfigurationCollectionAttribute, ..., ConfigurationManager, ..." etc.
But the only "Configxxx" attributes/classes/whatever that the dropdown
shows me are: "ConfigurationException, ConfigurationSettings and
ConfigXMLDocument"!
Am I missing something totally obvious here? Is there a patch to VS to
update the System.Configuration component that I know nothing about?
HYCH,
Rob
(VS 2005 Pro, Win XP Pro)
I'm trying to read some app settings from my app.config file (normal
Win app), have included the System.Configuration namespace in my app,
but when I try to access the ConfigurationManager class, I find no
mention of it at all!
According to the online help, ConfigurationManager is the preferred way
to go to access the appSettings information ("all other methods are
deprecated"). So, when I type "System.Configuration.", the dropdown
should show me a whole bunch of stuff belonging to this namespace,
including some 27 beginning with "Configuration", ie "Configuration,
ConfigurationCollectionAttribute, ..., ConfigurationManager, ..." etc.
But the only "Configxxx" attributes/classes/whatever that the dropdown
shows me are: "ConfigurationException, ConfigurationSettings and
ConfigXMLDocument"!
Am I missing something totally obvious here? Is there a patch to VS to
update the System.Configuration component that I know nothing about?
HYCH,
Rob