ConfigurationManager.AppSettings in .NET Framework Beta2 missing

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I used System.Configuration.ConfigurationSettings.AppSettings. But Whidbey
tells me this is now obsolete and I have to use
ConfigurationManager.AppSettings.
I find the documentation but not the class.
 
I just got through fixing the same problem yet I almost went insane first.
I upgraded from Beta 1 to Beta 2 and all of a sudden ConfigurationSettings
is depricated but the recommended class is nowhere to be found
ConfigurationManager. So I'm thinking that I'm still pointing at some old
..dlls or something so I try cleaning all old system.dll and system.xml.dll
files off my machine. I was having the same issue with
XslCompiledTransform.

It turns out that the solution to both probelms is to add additional
references. Add system.configuration to get configurationManager and add
system.data.sqlxml to get XslCompiledTransform. I have no idea why you are
able add the appropriate "using System.configuration" stuff at the top if
you need system.configuration.dll for half the stuff. Is the namespace
split accross two dlls?
 
Back
Top