J
Jay Ayliff
If you put configuration settings in a text file in the \bin folder, named
the same as the exe, but with .config (e.g. config file for myapp.exe will
be myapp.exe.config), then the config file is deleted when you build the
exe. If you set the file to readonly then it doesn't get deleted, but of
course then you can't change it from your program! This 'feature' came in
with Visual Studio 2003. In the original VS.NET the config file did not get
deleted.
Has anyone else noticed this, and is there a better way of storing
configuration settings?
Regards
Jay Ayliff
Stalis Ltd
the same as the exe, but with .config (e.g. config file for myapp.exe will
be myapp.exe.config), then the config file is deleted when you build the
exe. If you set the file to readonly then it doesn't get deleted, but of
course then you can't change it from your program! This 'feature' came in
with Visual Studio 2003. In the original VS.NET the config file did not get
deleted.
Has anyone else noticed this, and is there a better way of storing
configuration settings?
Regards
Jay Ayliff
Stalis Ltd