Config File Problems in VS 2003

  • Thread starter Thread starter Lester
  • Start date Start date
L

Lester

I just upgraded my system to Framework 1.1 and VS.Net 2003
and when I opened a project that worked yesterday, the
following line no longer returns the value in the .Config
file:

m_strTestToEmail = ConfigurationSettings.AppSettings
["TestToEmail"];

Any ideas ??

Thanks,

LES
 
Hi Les,

I'd take a look at the encoding= attribute in the config file. The behavior
of VS .NET regarding changed for manifest files between 1.0 and 1.1, so I
wouldn't be surprised if it changed for config files too. It should be:

encoding="utf-8"

Tom Clement
Apptero, Inc.
 
Back
Top