M
Mark Rae
Hi,
Apologies if this is a stupid question, but it's late...
I have a C# 2 WinForms project called RTES, and I'm trying to add new
key/value pairs to the appSettings section of its config file. I'm using the
code here:
http://www.codeproject.com/useritems/SystemConfiguration.asp?msg=1971660 as
an example.
The folder \RTES\bin\debug folder contains the following files:
RTES.exe
RTES.exe.config
RTES.pdb
RTES.vshost.exe
RTES.vshost.exe.config
When I run the app in debug mode, RTES.vshost.exe.config gets updated with
the new key/value pair - RTES.exe.config doesn't...
However, as soon as I exit the app, RTES.vshost.exe.config reverts to the
way it was...
Is this normal?
Is it not possible to use the AppSettings.Settings.Add(...) method to add
new key/value pairs permanently...?
Any assistance gratefully received.
Mark
Apologies if this is a stupid question, but it's late...
I have a C# 2 WinForms project called RTES, and I'm trying to add new
key/value pairs to the appSettings section of its config file. I'm using the
code here:
http://www.codeproject.com/useritems/SystemConfiguration.asp?msg=1971660 as
an example.
The folder \RTES\bin\debug folder contains the following files:
RTES.exe
RTES.exe.config
RTES.pdb
RTES.vshost.exe
RTES.vshost.exe.config
When I run the app in debug mode, RTES.vshost.exe.config gets updated with
the new key/value pair - RTES.exe.config doesn't...
However, as soon as I exit the app, RTES.vshost.exe.config reverts to the
way it was...
Is this normal?
Is it not possible to use the AppSettings.Settings.Add(...) method to add
new key/value pairs permanently...?
Any assistance gratefully received.
Mark